closing a tab

J

Josh

I'm redesigning my forms, I now have a Main Form with tab controls on it, some
tabs have subforms, some tabs simply have command buttons to other Fomrs. For
the ones with subforms on them, I need a way to make sure user doesn't leave
that tab with a record still being edited.......The only thing I can think of is
me.dirty false on losefocus event of the subform.....but that doesn't seem
right.

Any suggestions?

Thanks, Josh
 
T

tina

when you move focus from a subform object back into the main form, the
current subform record is automatically saved, just as when you move from
the main form into a subform object, the main form record is automatically
saved.

hth
 

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

Similar Threads


Top