Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Second Report always blank page
Message
 
 
To
30/04/2010 06:27:03
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows 7
Network:
Windows 2003 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01462495
Message ID:
01462503
Views:
49
Are you by any chance running reports from a form with a grid? Check Forms with Grids and printing reports FAQ #15515

>Hi all
>
>I have a strange problem, if i preview the report i can see both reports, but if i send it to printer the last report is always a blank page,
>the code i use
>
>			.oLinCal.np_procuranecessidades_linha(.oRS2, ;
>				c_cod_art, c_cod_art, .cEncI, .cEncF, .cCliI, .cCliF, 'PORT', ;
>				 Cor1+Cor2+Cor3+Cor4)
>			cAlias=LOWER(SYS(2015))
>			.RS2CURSOR(.oRS2, cAlias)
>			SELECT (cAlias)
>			*!* Imprime Nota Fabrico
>			REPORT FORM  lst_nota_prod.frx TO PRINTER NOCONSOLE NODIALOG
>
>			*!* Imprime Resumo Nota Fabrico			
>			.oLinCal.np_resumo(.oRS3, ;
>				c_cod_art, c_cod_art, .cEncI, .cEncF, .cCliI, .cCliF, 'PORT', ;
>				 Cor1+Cor2+Cor3+Cor4)
>			cAlias1=LOWER(SYS(2015))
>			.RS2CURSOR(.oRS3, cAlias1)
>			SELECT (cAlias1)
>			REPORT FORM  lst_nota_prod_resumo.frx TO PRINTER NOCONSOLE NODIALOG
>
>
>João Batista
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform