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

visual basic and access

Status
Not open for further replies.

monsterman66666

Programmer
Jan 17, 2002
8
0
0
US
I have created an access database and create my reports in vb 6. how would i go about connecting the query to the vb 6 reports?
 
For the VB data reports the easiest way to set them up and link them through the data enviromant.

Billy
 
Add a Data Environment and from there right click on the Connection and select Properties and find the path of your Database. Once connected, add a command and select what table you want to display or just use an SQL.

From your DataReport set the datasource to DataEnvironment1 and then the Data Member to Rercordset and the DataField.....


 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top