D
Dirk Goldgar
Peter Danes said:The
gist seems to be this: when a subform's recordset contains NO
records, AND the properties sheet has adding records disallowed, the
entire subform is not displayed. The subform's container on the main
form stays, but all the subform controls are invisible.
This is not strictly true. All controls in the *Detail Section* of the
subform are invisible. Controls in the Form Header and Footer sections
are still visible. I'm sure John is aware of this, by the way.
It makes a
certain amount of cockeyed sense, I suppose. If there are no records
to show and you can't add any new ones, it's unlikely that you have
much reason to work with the subform. But it also blocks access to
any command buttons and such that you may want even if you have no
records and no adds allowed.
But you can but such controls in the form header or footer, to work
around the phenomenon.