Dimensioned Arrays

smittyusn1 at bellsouth.net smittyusn1 at bellsouth.net
Sun Apr 17 06:05:12 PDT 2011


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






More information about the Filepro-list mailing list