If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Delphi, C etc > SQLPutData, updating a single field

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-04-02, 10:21
ebknoppert ebknoppert is offline
Registered User
 
Join Date: Mar 2002
Location: Netherlands
Posts: 3
SQLPutData, updating a single field

I have an stmt using keyset driven mode.
It's very simple, as i need a field data i set the field pos and get the data using SQLGetdata()
No cursor stuff or parameter or bindcols whatsoever.

I would like to use THIS method to build an field update without SQL.

I tried SQLPutData but the field is not updated.

MSDN shows parameter stuff but i'm not so clever with this.
I don't want to use bindcol, except if there is no other way.
Reply With Quote
  #2 (permalink)  
Old 03-05-02, 03:05
annavp annavp is offline
Registered User
 
Join Date: Feb 2002
Location: Leuven, Belgium
Posts: 27
SQLSetPos

Hi,
I am not a guru on the odbc subject but shouldn't you use SQLSetPos to update data?
anna
Reply With Quote
  #3 (permalink)  
Old 03-05-02, 04:18
ebknoppert ebknoppert is offline
Registered User
 
Join Date: Mar 2002
Location: Netherlands
Posts: 3
Sure i did.

PutData, setpos with update flag.
Mixed/tried with a late call to bincols for this col only etc..

??
Reply With Quote
  #4 (permalink)  
Old 03-06-02, 07:04
ebknoppert ebknoppert is offline
Registered User
 
Join Date: Mar 2002
Location: Netherlands
Posts: 3
Got it.
Concurrency settings enabled

Thanks,
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On