Subforms and command buttons

  • Thread starter Thread starter C Tate
  • Start date Start date
C

C Tate

Is it possible to access all your subforms through command buttons from the
main form? Or is this not something which is normally done?
 
All I mean is this: is it possible to open the subform from a command button
rather than have it as, say, a datasheet on the main form? I just thought it
might help to do this if there was not enough space on the main form - and
you didn't want to use tabs.
 
You can open a form from a command button, but it will not be "linked" (as a
subform would be) to the first form. So that likely defeats the intent that
you have. By definition, a subform is related to the data on the main form;
opening it separately means that you must build all your own code to make it
related to the main form, instead of letting ACCESS' builtin design do it
for you.
 
Back
Top