Dimensioned Arrays
smittyusn1 at bellsouth.net
smittyusn1 at bellsouth.net
Mon Apr 18 06:15:53 PDT 2011
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 ??
Thanks again,
Wayne Smith
Port Orange, Florida
-----Original Message-----
From: Kenneth Brody
Sent: Sunday, April 17, 2011 9:48 PM
To: smittyusn1 at bellsouth.net
Cc: filepro-list at lists.celestial.com
Subject: Re: Dimensioned Arrays
On 4/17/2011 6:21 PM, smittyusn1 at bellsouth.net wrote:
>
> Ken Brody, original processing ....not sure how to clip it out and get it
> here but here goes....
>
> Input Processing
> dim itms(15):60
> it(8,allup)=itms(@af)
>
> @wlfa0, (item code) 60 thru 74 looks up items for his invoice and gets
> everything, 15 possible items.
>
> I would like to add 2 new fields to this array the easiest way possible,
> when it looks up the inventory item or when he escapes to save and exit
> the
> invoice.
[...]
So you have ten arrays, aliased to the fields which correspond to the A0
through A9 groups, correct? And now you have created a B0 and B1 group, and
aliased two arrays to them correct?
>From the above code it appears that the access to the arrays is not related
to them being associated fields. (Well, except that you use @AF as the
subscript.)
If you already have a way to access the first ten arrays, what's the problem
with accessing the two new arrays the same way? Where you have "itms[@af]"
above to get one of the A* fields, simply use
"array_which_is_aliased_to_b0[@af]" to get the B0 fields.
You still haven't shown what the actual problem is.
--
Kenneth Brody
_______________________________________________
Filepro-list mailing list
Filepro-list at lists.celestial.com
Subscribe/Unsubscribe/Subscription Changes
http://mailman.celestial.com/mailman/listinfo/filepro-list
More information about the Filepro-list
mailing list