Dimensioned Arrays

Kenneth Brody kenbrody at spamcop.net
Mon Apr 18 09:05:40 PDT 2011


On 4/18/2011 9:15 AM, smittyusn1 at bellsouth.net wrote:
> Still having the same problem of the new list price array&  extended price,
> it always fills in the first element in the array and never fills in the
> next elements as I add items to the Invoice.
>
> "Alias" the original    dim itms(15):60   to new  Dim list(15):213   How do
> you do that ??
[...]

We can still only guess, since you still haven't given us any details, only 
vague descriptions.

Assuming that some of the existing fields are fields 60 through 74, and some 
of the new fields are 213 through 227, then you do it exactly as you showed.

If you can do the assignment:

    itms[foo] = something

then:

    list[foo] = something_else

will assign to the corresponding B-field.

Of course, you don't show us how you assign to the new arrays, nor how you 
assign to the existing arrays which works, so we really can't give you any 
better answers.

-- 
Kenneth Brody


More information about the Filepro-list mailing list