Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Passing arguments from a form to a report

Status
Not open for further replies.

mar10

Programmer
Sep 18, 2001
26
NL
Hello people

I'm trying to pass an argument from a form to a report to perform a query. Now I'm finished in not displaying the runtime parameter form but now I would like to pass the argument also. I'm using designer 6i.

greetings

Mar10
 
If you call report from form by specifying "Called Modules" you may refine module inclusion properties by setting "Named Passed Values" (choose "Use Property Dialogs" menu and doubleclick the inclusion)
 
Ok, and which named passed values do I have to use and with which values.
 
Of course you may pass those values defined in your report.
 
To get rid of all the misunderstandings I describe my steps till now.

I created a report with an argument for a query.
In a form I made a connection to the report.
(the report became the called module and the form the calling)
As argument passed value I used the in the report declared argument.
My problem is that the argument passed value never gets in the report. I think the cause of this is the paramform. That sets the argument to 0 (I think).

Now is my question how do I pass an argument into the report without interruption of the paramform.
 
You may pass PARAMFORM = NO as named passed value. What source for argument passed value do you use?
 
It's for an hour registration application and I try to pass through a number (the employee number), so you get a selection of the hours made by that employee number.

I added the named passed value 'paramform' with the value NO but then I haven't got a query although I also pass through the emp nr.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top