Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error printiting from menu
Message
From
12/08/2002 12:42:55
 
 
To
12/08/2002 12:31:53
Adrian Demaestri
Ministerio de Economia de La Prov. de Ba
La Plata, Argentina
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00688656
Message ID:
00688669
Views:
22
Just some thoughts...

By any chance is the report running in a private datasession?

Additionally, make sure that the last line before issuing 'report form ...' is a SELECT statement for the main table the report uses. Then set it back after you run the report.

Tracy

>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 )
.·*´¨)
.·`TCH
(..·*

010000110101001101101000011000010111001001110000010011110111001001000010011101010111001101110100
"When the debate is lost, slander becomes the tool of the loser." - Socrates
Vita contingit, Vive cum eo. (Life Happens, Live With it.)
"Life is not measured by the number of breaths we take, but by the moments that take our breath away." -- author unknown
"De omnibus dubitandum"
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform