Hello,
I don't work with arrays that often, but I need to now and am having
trouble.
I created a form property for the array thisform.aEyeColor[1,2]
I make a call to a business object to pull a query from the codes table and
return and array.
The problem is when I try to copy the returned array into the form.property
I get an error.
Private a_temp
Dimension a_temp[1,2]
oCodes.GetCodes('EYECOLOR', @a_temp)
this returns the array correctly into the a_temp variable
the problem is when I try to copy the array to the form variable
ACOPY( a_temp, thisform.aEyeColor)
I get the error "subscript is outside defined range"
Does anyone know the trick to get this working ?
Thanks,
Kent
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.