Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations bkrike on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Drop-box help with links

Status
Not open for further replies.

Shell123

Programmer
Mar 8, 2001
5
NZ
Hi there

I have a form with several things on it. There are 3 parts of the form that I am needing help on, although they are all connected.

I have a drop-box with 8 regions on it. Below this I have another drop-box where once an region is chosen all the appropriate addresses come up. Once you choose an address from that drop-box the customers full information comes up.

I can zip my database and send it to someone if they can help me??

By the way, I dont really understand the Visual Basic language therefore I sort of need basic instructions e.g go into properties and click......

Shelley
 
You should have a query built for the second combobox that uses Forms!FormName.ComboBox1 as the criteria for the region field whose addresses appear in ComboBox2, and likewise the query for the data that is displayed should use Forms!FormName.ComboBox2 as the criteria row for the address field. In the AfterUpdate Event for ComboBox1 you need to send a Requery command to ComboBox2 (i.e. cboName.Requery), and in the AfterUpdate Event for ComboBox2 you need to send a Refresh command to the form to get the correct address to appear (i.e. Me.Refresh)

PaulF
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top