>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 > >
>PUBLICARRAY aclient[1]
>SELECT client_code FROM client INTOARRAY aclient
>FOR x = 1TOLEN(aclient)
> ? aclient[x]
>NEXT x
>
Len() gives you the length of the first record, try alen() instead...