cannot reference a field in a subform

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
 
R

Rick Brandt

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top