Hello All,
I need some help with a form problem. I have a main form which reads data from a sub-form called tbl_referral1. The problem I am having is when there is no data in the sub form I get the #error on a txtbox in my Main form designed to read from the sub-form. I have tried using different iif statments but I keep getting the #error when there is no data. Any help will be greatly appreciated.
Here is my code:
=IIf(tbl_referral1.Form!MTDfundedTTL Is Null,0,tbl_referral1.Form!MTDfundedTTL)
I need some help with a form problem. I have a main form which reads data from a sub-form called tbl_referral1. The problem I am having is when there is no data in the sub form I get the #error on a txtbox in my Main form designed to read from the sub-form. I have tried using different iif statments but I keep getting the #error when there is no data. Any help will be greatly appreciated.
Here is my code:
=IIf(tbl_referral1.Form!MTDfundedTTL Is Null,0,tbl_referral1.Form!MTDfundedTTL)