Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SqlServer identity field return 0
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01254319
Message ID:
01254328
Views:
12
>>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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform