Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Object Count in a Form
Message
From
27/04/2001 11:22:09
 
 
To
27/04/2001 11:14:29
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00500662
Message ID:
00500763
Views:
31
>Larry is quite right - both thisform.Objects and Thisform.Controls are collections so aLen won't work on them (mutter mutter)
>
>instead you could do -
>
>
>lnCount = 0
>For each loControl in Thisform.Controls
>lnCount = lnCount + 1
>Next
>
>

...or you could just use Thisform.ControlCount...
Insanity: Doing the same thing over and over and expecting different results.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform