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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

New ATL Object and C++ question???

Status
Not open for further replies.

JasonDBurke

Programmer
Jun 20, 2001
54
US
I am trying to access a database on SQL Server 2000 from an already existing app that does socket reads.. These are my steps:
Insert -> New ATL Object -> Data Access -> Consumer -> Select DataSource -> Microsoft OLE DB Consumer for SQL Server -> "All the login and Server Info needed" -> The Test connection "succeeds" -> I pick the table "dbo.alert_Info" -> Click change, Insert, and Delete.
A HEADER named dboalertInfo.H is added to my project automatically. How do I go about accessing the information in the "dbo.alert_Info" table now??!! Please help..
Jason
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top