>>Hi...
>>
>>My application open some tables and run dif. reports at some point... And, how this application runs on different environments I don't use the report's environment feature. Usually the report should work with application environment... Since that I start to use the 9 report's behevior I'm facing some troubles... The behavior always do this:
>>
>>start app EXE
>>open table A
>>open table B
>>run reports (that use those tables only) --- an open windows dialog appear asking for external data
>>
>>If I do the same inside VFP the report works fine.
>>
>>I'll appreciate any help..
>>
>>Ps: I already try to set PRIVATE DATA SESSION of report as well the opposite... And try to use the clause ENVIRONMENT on the *report form* command
>>
>>Claudio
>
>Did you try for problematic reports
>
>SET REPORTBEHAVIOR 80
I can't do this... because the center of the idea is to don't use paper.. And mostly of this reports is exported as HTML and emailed to someone..
And I'm using report listeners... Something as:
lclocal = Justpath(_Screen.cSetupIniName)
lcassi = Forcepath("employsignature.htm", lclocal)
If File(lcdest)
Erase lcdest
Endif
lclib = "_reportlistener.vcx"
If Version(2)=2
lclib = Forcepath("_reportlistener.vcx",Home()+"\FFc\")
Endif
oHTMLReport = Newobject("HtmlListener", lclib)
oHTMLReport.ListenerType = HTMLListener
oHTMLReport.TargetFileName = lcdest
IF pcalias="pedcompr"
SELECT copedite
ENDIF
SET COVERAGE TO log.txt
Report Form (lcrepo) &options &forexpr;
TO Printer Prompt Noconsole Object oHTMLReport
SET COVERAGE TO
tks
"Now to him who is able to do immeasurably more than all we ask or imagine, according to his power that is at work within us, Ephesians 3:20