B
Brian
I am getting a non-specified runtime error on Access 2003 runtime only (can't
duplicate on my development station) under this circumstance:
In my Form_Current, I call a sub that enables/disables certain controls
based on contents of other controls. Some of the controls that I
enable/disable are on a subform.
It fails on the second line below (ProductID1 is a control on the form,
TripDetail is the name of the subform, and BundlesProduct1 is a control on
the subform):
If IsNull(ProductID1) Then
Me.TripDetail!BundlesProduct1.Enabled = False
Else
Me.TripDetail!BundlesProduct1.Enabled = True
End If
The code runs fine when I open the form, but not after going to a new record.
duplicate on my development station) under this circumstance:
In my Form_Current, I call a sub that enables/disables certain controls
based on contents of other controls. Some of the controls that I
enable/disable are on a subform.
It fails on the second line below (ProductID1 is a control on the form,
TripDetail is the name of the subform, and BundlesProduct1 is a control on
the subform):
If IsNull(ProductID1) Then
Me.TripDetail!BundlesProduct1.Enabled = False
Else
Me.TripDetail!BundlesProduct1.Enabled = True
End If
The code runs fine when I open the form, but not after going to a new record.