B
Boris
One of my forms uses an unbound subform. I use the Form_Current event of the
form to set the RecordSource of the subform (thus binding the subform to a
query). The subform itself uses Form_Current, too, to access the current
record (in the subform).
The problem is that Form_Current of the subform fires first when the form is
opened. As the subform is not bound at that time it tries to access the
current record which is not yet available. What do I have to check to test
if there is any current record available? I tried Me.Count and
Me.CurrentRecord but the first one gives me strange results and the last one
runtime error 2455?
Boris
form to set the RecordSource of the subform (thus binding the subform to a
query). The subform itself uses Form_Current, too, to access the current
record (in the subform).
The problem is that Form_Current of the subform fires first when the form is
opened. As the subform is not bound at that time it tries to access the
current record which is not yet available. What do I have to check to test
if there is any current record available? I tried Me.Count and
Me.CurrentRecord but the first one gives me strange results and the last one
runtime error 2455?
Boris