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!

PRINTING FROM DATA ACCESS PAGE

Status
Not open for further replies.

99Chuck99

Programmer
Dec 11, 2003
67
US
Is it possible to have a Data access page print a report that resides in the ACCESS database. I have a ADODB connection set up in the DAP page to the database where the report is.
dbPath = "\\Kscboc2\Share\Jbosc\Rpi\Databases\FERB.mdb"
Set objConn = CreateObject("ADODB.Connection")
objConn.Open "PROVIDER=MICROSOFT.JET.OLEDB.4.0;DATA SOURCE=" & dbPath

I would like to add a button to the DAP page that can print a report. Any help would be greatly appriciated.
 
Has it been written as an HTA? If so, adding buttons would be the same as in HTML. All you need to do is write a routine for buttonName_onClick
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top