General information
Category:
Coding, syntax & commands
Environment versions
Network:
Windows Server 2012 R2
>>>>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...
>>>
>>>What members does aaa show?
>>Only those properties i have set as controlsource of textboxes i have in the form i am using....
>
>Maybe that's how it works in this case.
>
>If you have a legitimate item like a controlSource populated, then it recognizes that as a member, but if it's just a value in the control itself without any external references then it doesn't access them? I don't know. Try to add some controlSource items to others and see if the number goes up.
>
>As a workaround, manually create an array with thisForm.controlCount (or whatever your parent container is), and then populate manually with an iteration through the .controls[] array.
I made it, but the problems is that to make the iteration i used amembers() and a for endfor, but amembers() gave me uncorrect number of items....
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only