I think i dont understand what's the difference between the subform and the
A subform is a form, just like any other form. It can be bound to a data
source, hold controls, and have its own form properties and a VBA module.
A subform control is a control (much like a text box, combo box, or buttons
are controls), but it's a special control that can hold another form's
properties and controls. When the main form is open, it's a member of the
Forms Collection, but the subform _isn't_ -- it's being "held" in a control
(called the subform control) on the main form, so it doesn't exist as an
instance of a separate form.
A subform control has a Form Property, and many of a regular form's
properties and methods can be used to manipulate the subform's properties and
its controls with this Form Property.
HTH.
Gunny
See
http://www.QBuilt.com for all your database needs.
See
http://www.Access.QBuilt.com for Microsoft Access tips.
(Please remove ZERO_SPAM from my reply E-mail address so that a message will
be forwarded to me.)
- - -
If my answer has helped you, please sign in and answer yes to the question
"Did this post answer your question?" at the bottom of the message, which
adds your question and the answers to the database of answers. Remember that
questions answered the quickest are often from those who have a history of
rewarding the contributors who have taken the time to answer questions
correctly.