Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
_TALLY returns a 0 on a INSERT command
Message
De
22/08/2007 16:26:03
 
 
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:
01249705
Vues:
25
I try your suggestion involving intellisense and it still returns 0. I am going to compare the result in other versions now.

>IIRC, There was a bug in VFP8 Intelliseense that would reset _TALLY. Try to type it w/o space so Intellisence wouldn't kick in.
>
>INSERT INTO test VALUES ("test")
>?_tally
>
There was also another bag with SET NOTIFY CURSOR OFF that affected _TALLY as well but it was increasing it.
>
>>I never noticed this, but is now in the way. When I issue a INSERT command the _TALLY reports zero record affected when in fact it should be 1.
>>
>>
>>CREATE CURSOR test (name c(10))
>>INSERT INTO test VALUES ("test")
>>? _tally
>>
>>
>>Help indicates that it should return 1.
>>
>>Is my wrong here?
Greg Reichert
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform