Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_tally works different way in vfp6 and vfp7
Message
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00700075
Message ID:
00700316
Vues:
9
In this case Intellisence changes _TALLY value. To avoid it happen type ?_TALLY w/o space between '?' and '_TALLY' so intellisence wouldn't have a chance to kick in.

>Hi!
>
>The most strange is that I was able to reroduce this... Only once! Next time whatever I did, I got correct results for both VFP6 and VFP7.
>
>Seems it is dependent on some sort of development environment nusianses, like internal query of records from PJX file, for example :).
>
>Did you tried to test it in run-time?
>
>If this does not exists in run-time - no resons to worry about. This is not a big problem when running this just from command Window in VFP development environment.
>
>>Dear All,
>>
>>please try these couple of code in vfp6 and then in vfp7 as well.
>>select * from <>
>>? _tally
>>Dimension laTest(_tally)
>>? _tally
>>Display Memory like laTest
>>
>>after executing these commands i assumed that laTest array variable will contains the number of elements, which was selected by the sql command.
>>in vfp6 this is the case
>>but unfortunatelly in vfp7 you will receive an array only with ONE element!!!!
>>it looks that the dimension command is also affect the _tally value.
>>or am i wrong?
>>
>>thank you
>>Ivan
--sb--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform