mhudd Posted February 20, 2002 Posted February 20, 2002 While in preview mode I would like to have a print button included with the continue and cancel buttons. I would like to print the report and still be able to look at it on screen...
kenneth2k1 Posted February 20, 2002 Posted February 20, 2002 Mike: I would suggest staying in Browse mode until you print. When you hit the Print button, have a script take you into Preview Mode, print, then go back to Browse mode. Would that work for you? Ken
mhudd Posted February 20, 2002 Author Posted February 20, 2002 Actually Ken, I've seen DB's that when they went to a report in prview mode they also had a print button available...
andygaunt Posted February 20, 2002 Posted February 20, 2002 Michael, It may have been visible on the screen, but you wouldn't be able to click it until you returned to browse mode.
mhudd Posted February 20, 2002 Author Posted February 20, 2002 Ken- Perfect Solution! I appreciate it!
Vaughan Posted February 20, 2002 Posted February 20, 2002 Or... go into preview mode, use the Copy command to copy the previewed layout, paset the image into a global field, then display the global field on a layout with the buttons in browse mode. The result is a true representation of the page previewed, but you're in browse mode so you can use buttons. The only shortcoming is that other pages are not directly accessible: this can be solved by scripting a return to preview, go to next page, copy image, paste into global field, return to faux preview layout.
Kurt Knippel Posted February 21, 2002 Posted February 21, 2002 quote: Originally posted by Michael Huddleston: Actually Ken, I've seen DB's that when they went to a report in prview mode they also had a print button available... Most likely they were not really in Preview mode. You were simply on a printable layout. Buttons do not work in Preview mode. There are many ways to fake it, but I still find the best way is to put the user in Preview mode with Allow User Abort [off] and showing them the status bar with a paused script. They can then scroll the pages and press the Continue button or hit enter. I then prompt them with a message asking if they want to print and if so bring up the print dialog. The above method gives the user all the flexability they will ever need without really giving them control over the application.
Recommended Posts
This topic is 8368 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now