Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How can I pass a parameter into report
Message
 
General information
Forum:
Visual FoxPro
Category:
Reports & Report designer
Miscellaneous
Thread ID:
00406382
Message ID:
00406410
Views:
44
Thanks, Mark.

This is kind of answer I expected to hear. So basically it conforms, that it could not be done in VFP Report Writer. Not a big deal, because I'm thinking, we should use our global object properties for this purpose anyway. These properties are just not available at this moment (should be designed first).

Thanks for your help.

>No. When I allow a user input to shape the report output, I use a form to collect user input with a GO button that creates the report variables, requery() a view with filter parameters, etc., then runs the report. This gives me more options to persent to the user and is more friendly than just a prompt.
>
>>Hi John,
>>
>> Yes, I know it could be set just before calling the report. By my question is: is it possible to give a User's Prompt directly in REPORT FORM command execution?
>>
>> I know, it could be done for parameters for PVIEW, but could it be done for other variables?
>>
>> TIA
>>
>>
>>>Just stop explicitely making it a local variable. If not otherwise specified, it'll be private when created by default. Let the value be set in the code that calls the report and the report will show the value fine.
>>>
>>>>I knew it should be a way to pass a parameter into report, but I don't remember how. Could you please tell me? Suppose, in my report I have a title:
>>>>lcCustomerName, where lcCustomerName should be a parameter set in run time, while executing REPORT FORM myReport TO PRINTER. How can I do that?
>>>>
>>>>
>>>>Thanks in advance.
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