Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Foxpro OLE DB Driver - Does it support updating???
Message
From
12/02/2002 04:36:31
 
 
To
11/02/2002 13:30:31
General information
Forum:
Visual FoxPro
Category:
Visual FoxPro and .NET
Miscellaneous
Thread ID:
00617493
Message ID:
00618722
Views:
43
The update command for the oledbdataadapter is

update clients set surname=? where id=?;
select client,surname,forenames,id
from clients
where id=?

I have put the code

oledbdataadapter1.updatecommand.parameters(0).value="test surname" e.t.c

before the line

ans=oledbdataadapter.update(Dsclients1)

but ans always returns false.

when i connect to an sql server database, the update command generated has parameters of the format @parameter name, and I don't need to programatically set the parameter values.

Any ideas?
Previous
Reply
Map
View

Click here to load this message in the networking platform