"R_Bonus_Incentive_First_H
Any error messaage?
Main Topics
Browse All TopicsBelow are CASE #1 and CASE #2. CASE #1 does work since I know how to reference
a subform within a main form such as SubForm_Search_3.Form!Tota
The field name field name Second_Half_Other_Payout does have a value.
CASE #1
FORM NAME: F_Bonus_Incentive
SUBFORM NAME: SubForm_Search_3
SUBFORM NAME: SubForm_Search_4
Field Name: Second_Half_Other_Payout
Tab Name: Data
ControlSource:=SubForm_Sea
SubForm_Search_4.Form!Tota
//////////////////////////
CASE #2 does not work. I have two sub report within a main report and I am trying to reference
it just like CASE #1.
R_Bonus_Incentive_First_Ha
Report!R_Bonus_Incentive_F
The field name Total_Payout2 does not have a value but an error.
REPORT NAME: R_Bonus_Incentive
SUB-REPORT NAME: R_Bonus_Incentive_First_Ha
SUB-REPORT NAME: R_Bonus_Incentive_Second_H
Field Name: Total_Payout2
Tab Name: Data
ControlSource:=Report!R_Bo
Report!R_Bonus_Incentive_S
[Other_Payout_Jan-June]+[O
This Question has been solved and asker verified All Experts Exchange premium technology solutions are available to subscription members.
Experts Exchange has been collecting answers to technology questions since 1996…3 million and counting! If you have a question, chances are we already have your answer.
If you can't find the exact answer you're looking for, ask our exclusive community of 50,000 experts. You’ll get a personalized answer from a trusted professional.
Thousands of free tech tips, tricks, how-to’s and tutorials are available in our peer reviewed articles section. See for yourself how smart our experts are, no login required.
Access the answers to your technology questions today.
30-day free trial. Register in 60 seconds.
Members of the expert community talk about why the experience at Experts Exchange is different than what you will find anywhere else.

Try it out and discover for yourself.
30-day free trial. Register in 60 seconds.
Join the community of experts here and help other tech pros by answering question in your area of expertise. You can earn FREE access to all Experts Exchange's premium features and resources.
Hi hnasr. I tried five different ways, but none of them work.
1)
ControlSource=[Other_Payou
Result: It prompt to input a value when the report is opened and #Name?appear on the field,.
2))///////////////////////
ControlSource=[Other_Payou
R_Bonus_Incentive_First_Ha
Result: It prompt to input a value when the report is opened and #Name? appear on the field.
3))///////////////////////
ControlSource=[Other_Payou
R_Bonus_Incentive_First_Ha
Result: It prompt to input a value when the report is opened and #Error appear on the field.
4)////////////////////////
ControlSource=[Other_Payou
Result: It prompt to input a value when the report is opened and #Error appear on the field.
5))///////////////////////
ControlSource=[Other_Payou
Result: It prompt to input a value when the report is opened and #Name? appear on the field.
Hi boag2000. I will try your suggestion later, but I do not think issue is with null and blank on a field to where I have to use the NZ function. All of the numeric fields on the report has a numeric value. There is no empty field. Some field has a zero (0), while others have number greater than zero.
I did use the NZ function and a dialog box prompt me to put in the value for
R_Bonus_Incentive_First_Ha
and the field Total_Payout2 has the value #Name? in the text box.
The NZ(Reports!R_Bonus_Incenti
does not work. The NZ function has no relevant here.
Access think that R_Bonus_Incentive_First_Ha
within a main form named "R_Bonus_Incentive".
//////////////////////////
Sub Report Name : R_Bonus_Incentive_First_Ha
Field Name: Total_Payout1
ControlSource: =Sum([Payout_Value])
Location of Field Total_Payout1: Report Footer
//////////////////////////
Main Report Name: R_Bonus_Incentive
Field Name: Total_Payout2
ControlSource: =NZ(Reports!R_Bonus_Incent
Location of Field Total_Payout2: Detail Section
Business Accounts
Answer for Membership
by: boag2000Posted on 2008-12-08 at 19:52:44ID: 23126766
Just a quick guess here,
_Bonus_Inc entive_Fir st_Half!To tal_Payout 1)+NZ(Repo rt!R_Bonus _Incentive _Second_Ha lf!Total_P ayout)+NZ( [Other_Pay out_Jan-Ju ne])+NZ([O ther_Payou t_July-Dec ])+NZ([Oth er_Payout_ Jan-Dec])
Try wrapping the values in the NZ() function, in case some values are empty (Null)
For example:
ControlSource:=NZ(Report!R
JeffCoachman