Dimensioned Arrays
Robert T. Repko (R Squared Consultants)
rtr at rsquared.com
Sun Apr 17 07:41:58 PDT 2011
Dim the array and check the first element of the array for data, if
it's blank write, if it's not blank increment the count and check the
next element of the array until you find a blank field (element of the array).
Believe it or not at 4/17/2011 09:05 AM, smittyusn1 at bellsouth.net said:
>Experts,
>
>I have an Invoice file, cust x has been using for 10 years, 15 items on
>his invoice. I have associated fields a0 thru a9 for elements within the
>invoice (define) itself, this works great. I have tried and tried to ADD
>to some new elements ....example b0 thru b1 (15 of them), just two things I
>need that he wants to add NEW to his invoice....LIST PRICE and EXTENDED LIST
>PRICE, (I can use quantity field a1 to extend list price to show what the
>his customer is saving on the printed Invoice. (extended field total =
>a1*b1) then add them up for a total. The fields are contiguous in the real
>fields.
>
>When I do an invoice and assign data .....it always fills in the first field
>in the array b0 ....next time it overwrites it with fresh data from the
>lookup into the Inventory file, without filling in the 2nd, 3rd, 4th, etc.
>real field on the invoice.
>
>Windows 7, filePro 5.0
>
>What am I doing wrong ? I hope I explained it right......Thanks ahead of
>time.
>
>Wayne Smith
>Port Orange, Florida
>
>
>
>
>_______________________________________________
>Filepro-list mailing list
>Filepro-list at lists.celestial.com
>Subscribe/Unsubscribe/Subscription Changes
>http://mailman.celestial.com/mailman/listinfo/filepro-list
***************************
* Robert T. Repko *
* R Squared Consultants *
* 4 Juniper Ave. *
* Easton, PA 18045 *
* (610) 360-1117 (mobile) *
* (610) 253-0725 (fax) *
***************************
More information about the Filepro-list
mailing list