Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Amembers() problem
Message
 
 
To
12/02/2019 09:09:47
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows 10
Network:
Windows Server 2012 R2
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01666312
Message ID:
01666327
Views:
43
>>I have an object with some properties.... In the debug i can see al properties, but when i use amembers it returns an incorrect number....11 instead the real number of properties contained in the object... Look at the image where you can see all the properties and the the amembers() result...
>
>How are you getting the object reference? In particular, if you're getting it from a FOR EACH loop, make sure that you use the FOXOBJECT keyword so you get a VFP object rather than a COM object.
>
>Tamar

With the result of amembers() i make a simple for loop...
i tried with for each but i had errors....have you an example about a for each with a simple object like mine iit is similar to that you can get from a scatter command
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform