Printing Problem

Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Dec 2008
Posts: 8
Reputation: Zermoth is an unknown quantity at this point 
Solved Threads: 0
Zermoth's Avatar
Zermoth Zermoth is offline Offline
Newbie Poster

Printing Problem

 
0
  #1
May 1st, 2009
Am trying to print a report and also save it to a snapshot.

The problem is that it runs off a query which works off two date fields (user entry).

When I run it, it asks for the date twice, there by eliminating my backup of the file.

There only two things I can think of doing, them being:

1 grabbing the date field and auto entering it in to the boxes

2 doing the snapshot and the writing the code to print it.

Any ideas how to do ether? Or better.

my code ---
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
  1. Private Sub cmdVWLPrintOut_Click()
  2.  
  3. DoCmd.OpenReport rptVWL
  4.  
  5. FileMaker = FileDate & rptVWL & ".snp"
  6.  
  7. DoCmd.OutputTo acOutputReport, rptVWL, acFormatSNP, prtSnpLoc & FileMaker
  8.  
  9. End Sub
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum


Views: 298 | Replies: 0
Thread Tools Search this Thread



Tag cloud for Visual Basic 4 / 5 / 6
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC