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 strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Form Value to Report

Status
Not open for further replies.

Shirley

Programmer
Aug 30, 1999
198
US
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.
 
Try this
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

I tried that, and every record appears with the same amount. The amount that appears is the form that is open.
 
I tried that, and every record had the same amount. The amount of the record that was opened on the form.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top