Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Define Public Array problem
Message
From
08/03/2010 05:18:23
 
 
To
08/03/2010 05:10:46
Yim Ming Sun Derek
Spacious Design Consultant
Hong Kong, Hong Kong
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
Visual FoxPro
Application:
Desktop
Miscellaneous
Thread ID:
01453125
Message ID:
01453131
Views:
68
>Hi,
>Thanks for your reply,
>I have define the public array
>the client file have 100 records, but I check the len of array is only 5.
>why ?
>please advise
>
>
>PUBLIC ARRAY aclient[1]
>SELECT client_code FROM client INTO ARRAY aclient
>FOR x = 1 TO LEN(aclient)   
>       ? aclient[x]
>NEXT x
>
Len() gives you the length of the first record, try alen() instead...
Previous
Reply
Map
View

Click here to load this message in the networking platform