Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
AMEMBERS() reporting differently . . .
Message
General information
Forum:
Visual FoxPro
Category:
Troubleshooting
Miscellaneous
Thread ID:
00504387
Message ID:
00504457
Views:
15
Don,

The first issue I would resolve is wheher toObject is a reference to the same object as goForm. Since there is no direct access to objects in VFP, only access by reference, the two references should return exactly the same members -- unless to toObject is not an object reference or not refering to the same object as goForm.

Regards,

Jim E.

>I have some code that is requesting a list of the property names.
>
LPARAMETERS toObject
>
>    DIMENSION laMembList[ 1 ]
>    lnLoopTotl	= AMEMBERS( laMembList, toObject )
>    ASORT( laMembList )
>    FOR lnLoopCnt = 1 TO lnLoopTotl
>        < get the prop name >
>        .
>        Additional processing
>    NEXT
>1. Executing the code as is, generates a list of only two properties,
>a Logical property, and the Name property.
>
>2. Executing the code, using the actual object Name ( ie goForm ), the
>full list is returned.
>
>This code used to work. Any one know of anything that could change or
>filter its return?
>
>tia
>Don
Jim Edgar
Jurix Data Corporation
jmedgar@yahoo.com

No trees were destroyed in sending this message. However, a large number of electrons were diverted from their ordinary activities and terribly inconvenienced.
Previous
Reply
Map
View

Click here to load this message in the networking platform