Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_tally works different way in vfp6 and vfp7
Message
From
13/09/2002 06:14:34
 
 
To
13/09/2002 05:56:00
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00700075
Message ID:
00700076
Views:
13
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
Vlad Grynchyshyn, Project Manager, MCP
vgryn@yahoo.com
ICQ #10709245
The professional level of programmer could be determined by level of stupidity of his/her bugs

It is not appropriate to say that question is "foolish". There could be only foolish answers. Everybody passed period of time when knows nothing about something.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform