Form Value to Report
Form Value to Report
(OP)
Dose anyone know how to insert a calculated field on a form to a report. I have tried many way to accomplish this but nothing yet.
The problem is that the calculated filed is a combination of 3 other fields on the form, but some of the calculation value are not in the query. The many calculation value if oneway, which comsisted of 3 subforms linked by destination, junction and school. On the report there are not links. Could you please give me an ideal of which way to go.
The problem is that the calculated filed is a combination of 3 other fields on the form, but some of the calculation value are not in the query. The many calculation value if oneway, which comsisted of 3 subforms linked by destination, junction and school. On the report there are not links. Could you please give me an ideal of which way to go.
RE: Form Value to Report
Open your form in design view and note the name of the Textbox with the formula
Leave your form open...
Next open your report in design view.
then add an unbound text box
in the "Control source" put a reference to your form.
Like so:
click in control source and then click the 3-dots button on the far right.
Then double click the "forms" slection in th eleft list.
Find your form and dril lyour way down to your field
make sure its in the Top box before you click OK
It should then put something like this in there.
=[Forms]![yourform]![FormulaBox]
the form must be open or you will get an error prompting for the Textbox.
DougP
dposton@universal1.com
Ask me how Bar-codes can help you be more productive.
RE: Form Value to Report
I tried that, and every record appears with the same amount. The amount that appears is the form that is open.
RE: Form Value to Report