If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > PC based Database Applications > Microsoft Access > Access 2007 Opening Forms with VBA

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 07-15-11, 11:27
washington washington is offline
Registered User
 
Join Date: Jul 2011
Posts: 1
Access 2007 Opening Forms with VBA

I have a form with a subform and subsubform

I have previously used a macro button on the subform to open the subsubform on the form (not the subform). Setting up the macro button allows me create a link between the subfrom and the subsubform.

I'd like to avoid using buttons and instead use VBA to open the subsubform by using a get focus event procedure related to a field on the subform.

Can anyone help please
Reply With Quote
  #2 (permalink)  
Old 07-15-11, 17:43
Sinndho Sinndho is offline
Registered User
 
Join Date: Mar 2009
Posts: 3,446
Not sure to understand but a control in a subform that is not open cannot receive the focus.
__________________
Have a nice day!
Reply With Quote
Reply

Tags
access 2007, open forms, vba

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On