Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
_TALLY returns a 0 on a INSERT command
Message
 
 
To
26/08/2007 18:30:59
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Vista
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01249694
Message ID:
01250543
Views:
13
>Actually, that is the problem. INSER-SQL does not effect _tally. But, according to Help it should.
>
>
>create cursor test (name c(10))
>_TALLY=99
>insert into test values ("greg")
>? _tally    && <== displays 99, not 1
>
We seems to be going in circles. According to help it shoudn't affect _TALLY unless it used with a query. See http://msdn2.microsoft.com/en-us/library/8472wd76(VS.80).aspx: "The INSERT - SQL command changes _TALLY if a SQL SELECT command is used to specify the data to insert".
INSERT INTO...SELECT FROM...
--sb--
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform