Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SqlServer identity field return 0
Message
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
OS:
Windows XP SP2
Divers
Thread ID:
01254319
Message ID:
01254328
Vues:
11
>>Hi, when I insert a record into my table made in sqlserver, the field named IdCustomer (integer identity in sql-server) return in my vfp form 0, there is a way to return the new number from sql when i execute a APPEND BLANK and not 0?
>>
>>THANK,
>
>What you use to insert records in SQL Server?

I have a remote view, and make something like this...

Select tblCustomer
Append Blank
-put the customer name, address, phone number, etc.
then ;
tableupdate(.t.)


-the IdCustomer field return 0, the table is BufferMode 5, when i exectute a tableupdate(), the idcustomer still is 0
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform