Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Legacy App
Message
 
To
15/05/2001 10:20:34
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Title:
Miscellaneous
Thread ID:
00507209
Message ID:
00507301
Views:
11
Worked fine in 2.6 .... Thanks!

Tommy

>My approach is a little different. I never dimension the array before SQL and explicitly release array if by any means I would do another SQL into the same array.
>Because if array exists SQL doesn't shrink its size in cases resulting a wrong assumption that there were elements.
>Instead whenever I select into array I explicitly check :
>if type('arrSQL[1,1]') # 'U'
>...
>else
>..
>endif
>If SQL returned no reults it would be 'U'. If you really ever need a nonempty array you could take care of it in else part in safer way.
>_Tally is not always reliable IMHO.
>Cetin
Tommy Tillman A+ NetWork+ MCP
Previous
Reply
Map
View

Click here to load this message in the networking platform