req: help with SetFocus method in subforms and tabs/pages

D

dave yan

hi,

i'm encountering a problem in access2k, involving tabs/pages,
subforms, option group and the SetFocus method.

when i open and close my form in add mode (single blank record for
data entry), everything works fine. however, when i open the same form
in browse mode (allowing user to view all records), i run into
problems. whenever i try to close the form, i get the following
window:

-------------------------------------------------------
Microsoft Visual Basic
Run-time error '2450'

Database can't find the form 'form_contacts'
referred to in a macro expression or Visual Basic code.
-------------------------------------------------------

does anyone have any suggestions?


following is the form structure and the code:

form_contacts
tab1
[first_name]
[last_name]
 

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