Subforms and command buttons

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?
 
C

C Tate

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.
 
K

Ken Snell \(MVP\)

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.
 

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