Yes. My technique has always been to make a little utility program that does things like this:
use reportname.frx
go top
replace expr with "ORIENTATION=1"+chr(13)+"PAPERSIZE=1",;
Tag with "", Tag2 with ""
That stems from VFP3 and on.
Maybe there is a better way now, but this has always worked for me.
You can call this program from your program that you use to compile your EXE.
Take care,
Joe
>>
>>USE yourreport.FRX
>>REPLACE EXPR WITH ''
>>USE
>>
>
>
>This is incorrect. You don't want to clear the entire EXPR field because it contains other information you want to keep, such as orientation. You have to selective get rid of printer-related lines in this field.
Joseph C. Kempel
Systems Analyst/Programmer
JNC