Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Preview from builder, runtime
Message
From
10/07/2008 06:12:17
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
10/07/2008 06:02:29
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01330149
Message ID:
01330152
Views:
32
Hallo Thomas
>Hi Agnes,
>
>is your PATH set to the reports directory?
>the other way around: do you call the report just by its name or do you give it the path also?
>
>usually I've set my environment with several path additions and one is the report path. At runtime the path is set programmatically based on the App's startdirectory.

I do not use PATH, I give full qualified filename (I have no idea where the user may place the reports). It's stored in a table. (I love meta data)

how to reproduce:
create a new project
add a procdure:
SET REPORTBEHAVIOR 90
CREATE CURSOR cur1 (c1 c(10))
INSERT INTO cur1 VALUES ('1') 
INSERT INTO cur1 VALUES ('2') 
INSERT INTO cur1 VALUES ('3') 

MODIFY REPORT your_report_on_your_path
create the report an location, add simple a single field c1 in detail
compile the to exe
run exe from windows explore
rightclick the report, choose preview

try to run the exe out of ide to see the difference

can you confirm that it will not show a preview?

Agnes


>>Hi all,
>>
>>
>>I try to edit a report under vfp runtime. It works as long I do not try to call the preview/print out of the builder.
>>
>>(Set reportbehaviour 90)
>>
>>This happens only to runtimes, in Startmode=0 it works perfect. This one makes it hard to trace.
>>I've tried under SP1 and SP2 with original or modified listners to the same result.
>>
>>It fails finding the 'frx' alias in reportlisteners FRXDATASESSION datasession.
>>
>>As far as I can trace it the listner does not loose it - it is never loaded.
>>
>>Is this a known problem? How can I avoid the error?
>>
>>
>>Agnes
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform