cannot reference a field in a subform

  • Thread starter Thread starter Mattias
  • Start date Start date
M

Mattias

Hi

Have a mainform with several subforms. Each subform has at least one field.
If I browse the records in the mainform some records has values in the
subform fields and some records has not. Those record who has no values in
the subform field ..the whole subform dissapear...why is this??

In my formbased code I must be able check if the field in the subform is
null etc. But I get error as it cannot find the subform field if it is null.

Hope to get some help with this...

Mattias
 
Mattias said:
Hi

Have a mainform with several subforms. Each subform has at least one field.
If I browse the records in the mainform some records has values in the
subform fields and some records has not. Those record who has no values in
the subform field ..the whole subform dissapear...why is this??

In my formbased code I must be able check if the field in the subform is
null etc. But I get error as it cannot find the subform field if it is null.

The detail section of a form displays completely blank when both of the
following are true.


(1)
The form has no records currently displayed

(2)
The form (and/or its RecordSet) does not allow new records to be inserted.
 
Back
Top