Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Insert SQL
Message
From
14/12/1997 14:11:18
Oleg Khvalin
The Sutherland Group Ltd
Rochester, New York, United States
 
General information
Forum:
Visual FoxPro
Category:
Client/server
Title:
Miscellaneous
Thread ID:
00065719
Message ID:
00065840
Views:
34
>I can't see anything wrong with your insert statement. It looks like your specifying 6 columns and 6 values. Maybe someone else can see the problem.
>
>>Hello Jonh
>>
>>Thanks to help me
>>
>>I'm getting to do my insert sql
>>But i'm having anothers problems
>>
>>my connection work fine but i have to write all fields of my table
>>
>>resp=SQLEXEC(nCONECTAR,[INSERT INTO cadcli (cod_cli, nome_cli, tel_cli, fax_cli, email_cli) VALUES (1, 'Anderson Reis Girardi', 3664579, 3664579, 'ander@net1.com.br')],'cartoes')
>>
>>If i use the followisg sintax the odbc driver shows me a message
>>
>>"Connectivity error:[TCX][MyODBC] Column count doesn't match value count."
>>
>>Do you can help me?
>>
>>Thanks

'[' and ']' should not be part of your statement. And I could count only 5 fields.
Hope it helps.
Oleg
Previous
Reply
Map
View

Click here to load this message in the networking platform