|
-
September 2nd, 2001, 07:55 PM
#2
Re: Call an Access report to VB
add in a dataevvironment and then set your connection on the environment then add a command and choose your report from there in table view.
then add in a data report and set the source to the dataenvironment and the member to the command
then right click on the report design in the detail field then choose retrieve structure then drag the command into the detail field and release and the arrange the lables and fields the way you want them... goto your form and add a button then goto code and put in the reportname.show to view it or reportname.printreport false to print strait to the printer or reportname.printreport true to get a printer dialog box
good luck
midnightservice
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|