PC Review


Reply
Thread Tools Rate Thread

AfterEvent Macro

 
 
Meesh
Guest
Posts: n/a
 
      11th Mar 2010
I am trying to create an AfterEvent macro for a form so that when you select
a device, it will then in the next combo box populate the ports associated
with that device. can someone quickly explain how to set up the argument for
this macro?

Thanks
 
Reply With Quote
 
 
 
 
Al Campagna
Guest
Posts: n/a
 
      11th Mar 2010
Meesh,
Given that you have cboDevice and cboPorts...
cboPorts should be using the value selected in cboDevice as a criteria
against it's associated ports.
Example query...
Device | Ports
=cboDevice

So... all that should be needed in the AfterUpdate event
of cboDevice is a Requery against cboPorts.
--
hth
Al Campagna
Microsoft Access MVP 2007-2009
http://home.comcast.net/~cccsolutions/index.html

"Find a job that you love... and you'll never work a day in your life."

"Meesh" <(E-Mail Removed)> wrote in message
news:933F8922-A382-4A28-A8E2-(E-Mail Removed)...
>I am trying to create an AfterEvent macro for a form so that when you
>select
> a device, it will then in the next combo box populate the ports associated
> with that device. can someone quickly explain how to set up the argument
> for
> this macro?
>
> Thanks



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Macro recorded... tabs & file names changed, macro hangs Steve Microsoft Excel Worksheet Functions 3 30th Oct 2009 11:41 AM
Spell Check a protected Form with a Macro & already have forms picture macro slsjmc@yahoo.com Microsoft Word Document Management 2 25th Oct 2007 04:11 PM
Macro Help Needed - Excel 2007 - Print Macro with Auto Sort =?Utf-8?B?R2F2aW4=?= Microsoft Excel Worksheet Functions 0 17th May 2007 01:20 PM
macro to delete entire rows when column A is blank ...a quick macro vikram Microsoft Excel Programming 4 3rd May 2004 08:45 PM
Start Macro / Stop Macro / Restart Macro Pete Microsoft Excel Programming 2 21st Nov 2003 05:04 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 02:45 AM.