Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to add ,modify or delte item in CRecordset

Status
Not open for further replies.

JumboGeng

Programmer
Jul 19, 2005
5
CN
Hi all:
I am just learning how to use MFC ODBC classes to access Sybase database .and i have two problems .
1:some one said,i can use an SQL server driver to access a Sybase database ,but it just doesn't work to me.
2:this questionis about CRecordset MFC ODBC class ,i know that i can insert ,update or delete records in the database by ExcuteSQL function of CDatabase,but my question is how to use CRecordset's menber function AddNew ,Edit ,Delete,to accomplish that.
any help would be appreciated.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top