Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Legacy App
Message
 
À
15/05/2001 10:20:34
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Titre:
Divers
Thread ID:
00507209
Message ID:
00507287
Vues:
9
Thanks, I will check it out.

>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
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform