Information générale
Catégorie:
Visual FoxPro Beta
>This wasn't always the case, as I recall. I may be mistaken, however, >I got into the habit of always dimensioning the array prior to the SQL >call. It may have been to keep the compiler from squawking, but I seem >to recall that this was the case (at least in 2.6).
George,
I too used to initialize the array prior to the SELECT, but I found I could streamline the code a bit by testing _TALLY, and if it was zero, I kenw the array wouldn't be created. But now in VFP9, the array will always be created. I must say, having a bunch of controls saying ".NULL." will get your attention. :-)
John
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement