PC Review


Reply
Thread Tools Rate Thread

Change sub dropdown based on main dropdown in access forms

 
 
patelniravd@gmail.com
Guest
Posts: n/a
 
      26th Feb 2006
Hi,

I am a newbie in Microsoft access. I made a access form which has 2
dropdown list box namely dropdown1 and dropdown2. I want to populate
dropdown2 based on value user selected on dropdown1. basically,
dropdown2 I want to populate from a table from the same database based
on value selected in dropdown1.

Can I get some code snippet or some hint so I can write such code.

Thank you,
Nirav

 
Reply With Quote
 
 
 
 
tina
Guest
Posts: n/a
 
      26th Feb 2006
see http://www.mvps.org/access/forms/frm0028.htm for one solution. btw, the
correct name for a "dropdown list box" is "combo box".

hth


<(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> Hi,
>
> I am a newbie in Microsoft access. I made a access form which has 2
> dropdown list box namely dropdown1 and dropdown2. I want to populate
> dropdown2 based on value user selected on dropdown1. basically,
> dropdown2 I want to populate from a table from the same database based
> on value selected in dropdown1.
>
> Can I get some code snippet or some hint so I can write such code.
>
> Thank you,
> Nirav
>



 
Reply With Quote
 
patelniravd@gmail.com
Guest
Posts: n/a
 
      26th Feb 2006
Thanks for our quick reply and it worked it too.

Now I am again facing a small problem and that is
I would like to upate textbox based on combobox1. combox1 rowsource
displays 3 columns - customer name, id and address. when I select any
customer from there, I want to copy address from the selected row to a
text box in the same form. How can I do that?

Thank you,
Nirav

 
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
filtering all forms based on a dropdown Jared Microsoft Access Form Coding 1 8th Feb 2010 05:16 PM
populating a dropdown based on choice from a previous dropdown Conor Microsoft Excel Programming 2 9th Mar 2006 07:15 PM
Change sub dropdown based on main dropdown in access forms patelniravd@gmail.com Microsoft Access Form Coding 2 26th Feb 2006 07:40 PM
offer dropdown options based on another dropdown Conor Microsoft Excel Misc 2 13th Jan 2006 04:28 PM
forms - dropdown lists based on record data The Boondock Saint Microsoft Access 3 13th Jan 2006 01:34 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:04 AM.