954,496 Members — Technology Publication meets Social Media
Username:
Password:
Lost login information?
Have something to say? Contribute New Article Reply to this Article

how to write string to MS access database through DAO?

I know how to read string values from Access db,
like:

CString strFields[5];
COleVariant varstring
for(field=0; field<5;field++)
{
recordset.GetFieldValue(field, varstring);
strFields[field]=V_BSTRT(&varstring);
}

then the string value from db. goes into strFields

But what if I know the strFields, and want write to update the db.
Does anyone know the adverse procedure?

linq
Light Poster
32 posts since Sep 2006
Reputation Points: 57
Solved Threads: 0
 

Please read the tutorial mentioned in your other thread.

Ancient Dragon
Retired & Loving It
Team Colleague
30,049 posts since Aug 2005
Reputation Points: 5,662
Solved Threads: 2,343
 

This article has been dead for over three months

Post: Markdown Syntax: Formatting Help
You