June 9, 200817 yr Hello, everyone. I have an invoice table which is working very well. I have buttons placed on it that are designed for printing, so that when the user clicks on it in Browse mode, it brings them to preview mode, prints it, then returns them to browse mode. I also have another button that simply allows them to preview it (by bringing them to preview mode). My question is this. Is there any way that I can add some user interaction to preview mode so that it calls my print script from there (i.e. The user previews it, accepts it, and prints it, or rejects it and goes back to browse mode). I'd like it if the user weren't to use the buttons on the actual toolbar on the left, such as changing modes or continueing through scripts. Thanks.
June 9, 200817 yr How about something like: Allow User Abort [Off] Go to Layout [ “Print” ] # FIND # SORT Enter Preview Mode [ Pause ] Show Custom Dialog [ Message: "Would you like to print this?"; Buttons: “Print”, “Cancel” ] If [ Get (LastMessageChoice) = 1 ] # PRINT End If Enter Browse Mode Go to Layout [ original layout ]
Create an account or sign in to comment