Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SQL insert command
Message
From
26/05/2002 07:04:03
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
SQL insert command
Miscellaneous
Thread ID:
00661435
Message ID:
00661435
Views:
36
Hi

I have make a form and place my table in the data environment. When I try to execute a SQL statement "insert into tablename value ( ......)" in the code, it did insert the data in the table but also it replace the field (The one which is index on) of first record with the inserted value too ?

Example I insert a record with the following field

Product_code = XYZ123
Part_code = ABC111

the table has a new record with the above data but the first record product_code value also been replaced with "XYZ123"

How this can happen ? And how I can avoid this ?

Thank you and best regard
Next
Reply
Map
View

Click here to load this message in the networking platform