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 > Combo Box Issue

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-31-12, 16:51
shortcut144 shortcut144 is offline
Registered User
 
Join Date: Dec 2011
Posts: 5
Combo Box Issue

Hi there everyone,

I just have a quick (pretty sure it is quick) how to question for Access 2007.

So I made a mistake in designing the Access 2007 databse (still learning) anyway so I need to do a workaround that requires me to make the following situation.

So I have a table named Courses have two feilds CrsID and CrsName. In a form there will be a combo box that EU will select CrsName. I need the CrsID to then update to a separate combo box that will be hidden to help update other combo boxes. I know I need to do a "After Update" Event Procedure on the CrsName combo box but I cannot figure out the VB code to push the CrsID to the other combo box.

If you're wondering the mistake I made, it was a relationship mistake and I am this close to being done and just need the quick fix.

Free Mojito to the sexy one who save my rear.
Reply With Quote
  #2 (permalink)  
Old 01-31-12, 17:08
pbaldy pbaldy is offline
Registered User
 
Join Date: May 2005
Location: Nevada, USA
Posts: 2,475
Is this what you're trying to do?

Autofill

Even if not, it has an example of copying a value.
__________________
Paul
Reply With Quote
  #3 (permalink)  
Old 02-01-12, 08:35
shortcut144 shortcut144 is offline
Registered User
 
Join Date: Dec 2011
Posts: 5
Solved

That worked great. Thanks a ton!

*Hands over Virtual Mojito*
Reply With Quote
  #4 (permalink)  
Old 02-01-12, 11:44
pbaldy pbaldy is offline
Registered User
 
Join Date: May 2005
Location: Nevada, USA
Posts: 2,475
Virtual Mojito?!?! Those aren't as refreshing as real ones!

Happy to help.
__________________
Paul
Reply With Quote
Reply

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