Referencing subforms on reports!

paulmcdonnell

Ready to Help
Local time
Today, 01:34
Joined
Apr 11, 2001
Messages
167
Hi Guys!!! :D

I'm using a form (A) which checks information from a settings page (B) which is a subform on A. This all works fine.

I then created a report (C) and want conditional formating to use the same subFORM (B) as the report (A). I have the subform (B) inserted into the report (C) but I'm having trouble referencing controls on this form.

For Forms and Subform Controls I'm using -

[TotalOutlay]<=[Forms]![Form_ANALYSIS_Properties]![Sunform_Margin_Settings].[Form]![Margins_low_Total_Outlay]
(Works fine ACCESS XP)

For the Report and Subform controls I'm using -

[Reports]![Report_Analaysis_Individual_Property]![Sunform_Margin_Settings].Form![Margins_low_Total_Outlay]

Access doesn't like this...I'm assuming its possible to mix forms and reports like this ...

Can anyone point to the right referencing method.

Cheers
PAUL
 
No, I mean report and subFORM.

I can insert a subform into a report but to save creating a subreport which is the same as the subform i already have can't I reference controls on the inserted form on the report?

Cheers
Paul
 
I think the form still becomes a subReport and is therefore referenced by Report. and not Form
 

Users who are viewing this thread

Back
Top Bottom