General information
Category:
Reports & Report designer
Title:
Error printiting from menu
I've a problem printing a report from a menu. The report doesnt have a dataemvironment; I select the workarea that I want to print (this workarea is a cursor created from a sqlexec command), then I call de "report form" command. I've tryed this source code in a procedure defined in the menu and in a command button placed in the form and called from the menu. If I call the print procedure in first time when I start the aplication it works perfectly wathever I call it. But if I call it after doing something else like show a diferent form or update a diferenct cursor the procedure works only if i call it directly and it have problems if I call it throwgh the menu. In de second case the report shows the things well in screen but when I try to change the zoom it doesnt find the fields of the cursor because another alias is selected (it changes the workarea )
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only