Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_TALLY returns a 0 on a INSERT command
Message
 
 
À
26/08/2007 18:30:59
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Vista
Database:
Visual FoxPro
Divers
Thread ID:
01249694
Message ID:
01250543
Vues:
14
>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--
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform