Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
DO form in Report's Environment Init()
Message
From
14/03/2006 06:26:24
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01103987
Message ID:
01104059
Views:
15
>I am trying to DO FORM.scx from within a certain Report's Environment->Property->init() event (to do some filtering work).
>
>Both the form.scx and the Report.frx are already included in the project.
>
>When I run the report in RUNTIME mode (it works in Interactive mode), it can NOT find the FORM.frx in the project and it issues error:
>"File c:/.../form.scx does not exist"
>
>How can I make the Report init() to see the form.scx that's already in the project ?
>
>Thank you in advance.
>
>cyrus

Cyrus

First I'd say it's more usual to do any filtering/selecting etc. of data before calling the form, and not to use the form's DE (which is usually just left empty), which can lead to problems of finding the correct data.

Secondly, it may be a problem with the paths you have set up in the runtime version.

Thirdly, what's a report doing referring to a form anyway?

My two penn'orth

Terry
- Whoever said that women are the weaker sex never tried to wrest the bedclothes off one in the middle of the night
- Worry is the interest you pay, in advance, for a loan that you may never need to take out.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform