Hi,
I have a report with several fields and unbound boxes. I would like some to be visible and others to not be dependant if a field is true or not.
Here is my code, but i get the error
Run Time error '2427'
'You entered an expression that has no value'
Code
What am i doing wrong!!
I have a report with several fields and unbound boxes. I would like some to be visible and others to not be dependant if a field is true or not.
Here is my code, but i get the error
Run Time error '2427'
'You entered an expression that has no value'
Code
Code:
Private Sub Report_Open(Cancel As Integer)
If Me.Based_Customer = True Then
Me.WO_Number_IfBased.Visible = True
Me.Wo_Number_IFbased_Label.Visible = True
Me.CustomerWA.Visible = False
Me.CustomerWA_Label.Visible = False
Me.WO_Number.visibe = False
Me.NotBasedTxt.Visible = False
Me.IsBasedtxt.Visible = True
Me.Customer_Scheduled_WO = DLookup("[Cusotmer_Shceduled_WO]", "tblACDetails", "[AC_Ser_No] = Reports![rptAirFrame]![AC_SN]")
Me.Customer_Scheduled_WO.Visible = True
End If
End Sub
What am i doing wrong!!