Hello,
I have a main form with sub-form and sub-sub-form. One of the calculated fields that serves as the row source for the sub-sub-form is dependent on a textbox on the sub-form, as reference in the formula below:
When the user changes the value on the sub-form I use a button to re-query the sub-sub form, based on that value. It seems to work well.
However, when I close the main form I always get a 'enter parameter value' prompt for some reason. Also, Access crashes.
Is there a way to prevent this from happening?
Thanks
I have a main form with sub-form and sub-sub-form. One of the calculated fields that serves as the row source for the sub-sub-form is dependent on a textbox on the sub-form, as reference in the formula below:
Code:
CorrFifty1: IIf(([50%_CI]-2*(1-([Forms]![frm_combined_CNVs_with_Comments]![frm_sample_cnv1].[Form]![cellularity]/100)))/([Forms]![frm_combined_CNVs_with_Comments]![frm_sample_cnv1].[Form]![cellularity]/100)<0,0,([50%_CI]-2*(1-([Forms]![frm_combined_CNVs_with_Comments]![frm_sample_cnv1].[Form]![cellularity]/100)))/([Forms]![frm_combined_CNVs_with_Comments]![frm_sample_cnv1].[Form]![cellularity]/100))
When the user changes the value on the sub-form I use a button to re-query the sub-sub form, based on that value. It seems to work well.
However, when I close the main form I always get a 'enter parameter value' prompt for some reason. Also, Access crashes.
Code:
[Forms]![frm_combined_CNVs_with_Comments]![frm_sample_cnv1].[Form]![cellularity]
Thanks