![]() |
| |||||||
![]() | « Previous Thread | Next Thread » |
| | LinkBack | Thread Tools | Display Modes |
| Sponsored Links |
| ||||
| Hey,.. well i figured it out ![]() The report will be printed from a form command button I created 2 Unbound Hidden text boxes on the form. Code: txtAccounts = Default Value - "Accounts" TxtStores = Default Value - "Stores" And Used the following code behind the Onclick Event of the form command button Code: Dim stDocName As String
stDocName = " ReportName "
DoCmd.OpenReport stDocName, acPreview
DoCmd.PrintOut
Reports.ReportName.txtWatermark = Forms!switchboard! txtAccounts
DoCmd.PrintOut
Reports. ReportName.txtWatermark = Forms!switchboard! txtStores
DoCmd.PrintOut
DoCmd.Close
1st printout = No Watermark 2nd printout = Accounts Watermark 3rd printout = Stores Watermark |
![]() |
|
| Bookmarks |
| Thread Tools | |
| Display Modes | |
|
|
| Sponsored Links |
| ASP.NET Resource Index a directory of ASP.NET tutorials, applications, scripts, assemblies and articles for the novice to professional developer. Free Web Directory Including Chats and Forums Resources, Offer automatic, instant and free directory submissions. | URLZ Web Directory URLZ Web Directory Free Web Directory - Add Your Link The Little Web Directory | Free Web Directory Pegasus free web directory is a free directory organised by categories. Web Directory & SEO Services dirroot web directory |