Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Seeking a brilliant idea to replace NextID() function
Message
De
21/01/2008 13:53:48
Suhas Hegde
Dental Surgeon
Sirsi, Inde
 
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 9 SP1
OS:
Windows XP SP2
Database:
MS SQL Server
Divers
Thread ID:
01283680
Message ID:
01283761
Vues:
14
hi,
You didnt understand what i was saying,

SQLSETPROP(oApp.oVar.sqlHandler,"Transactions",DB_TRANSMANUAL)
Would need SQlcommit() and sqlrollback() to be effictive

Would SQLEXEC(handle,"Commit Transaction") alone be more than sufficient ?

Try it with the codes i posted.

thanx,
Suhashegde

P.S.: Just saw that you were using both. Both start at the same place and end at the smae place. No updates are sent to server in between them. So sqlsetprop would be a unnecessary call. And Also would increment @@Trancount unnecessarily
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform