473,326 Members | 2,010 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,326 software developers and data experts.

Selection - Combo Boxes

Rob
Hello,
I am developing an A2K application.In the subform ,I have around 4
combo boxes for Group,Division,Name and Application.The selection
criteria of each combo is narrowed based on the value of other combo
box.In fact Application is selected based on Group,Division &
Names.But in many cases there are Divisions which do not have any
Names.
I need to select Applications either on two conditions,one if Names
are available, which presently i am able to do.Another to select
Applications based on Divisions which do not have any Names.

Group----->Division------>Name
! !
! !
!--------->Application.
How to select the Rowsource of the Application based on either of the
criterias?

Thanks

Rob
Nov 12 '05 #1
2 1585
One solution would be to write VB code for the 'on click' event of the
Division combo box. Using an If/Else structure you could set focus to the
Application combo if no name was required. If a name is required set focus
to the Name combo box. In each application it would be advisable to test
that all the required parameters were supplied.
Hugh.

"Rob" <ch*******@yahoo.com> wrote in message
news:60**************************@posting.google.c om...
Hello,
I am developing an A2K application.In the subform ,I have around 4
combo boxes for Group,Division,Name and Application.The selection
criteria of each combo is narrowed based on the value of other combo
box.In fact Application is selected based on Group,Division &
Names.But in many cases there are Divisions which do not have any
Names.
I need to select Applications either on two conditions,one if Names
are available, which presently i am able to do.Another to select
Applications based on Divisions which do not have any Names.

Group----->Division------>Name
! !
! !
!--------->Application.
How to select the Rowsource of the Application based on either of the
criterias?

Thanks

Rob

Nov 12 '05 #2
Ed
ch*******@yahoo.com

(The selection
criteria of each combo is narrowed based on the value of other combo
box.>
Rob


What do I need to do to make this happen in a form?

Thanks,
Ed
Nov 12 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: godber | last post by:
I need to populate text boxes for instance with employee information using their unique employee works number selected from a combo box. Can anyone help, I am told thru visual basic this can be...
1
by: Tom G | last post by:
Hello, I need some advice on which way to resolve the following. On a form, the user will make a selection from a combo box, after the selection several different fields need to be updated on...
1
by: Hank | last post by:
On various forms I have combo boxes with preloaded selections. I click the down arrow to display the choices. On some of the boxes, if I type the first letter of the selection (Lets say "C") then...
2
by: ebasshead | last post by:
Hi everyone, I'm having trouble getting my head around how to make a text box appear from a combo box selection. The combo box lists methods of payment eg cash, visa, mastercard. If visa or...
6
by: Dave | last post by:
I want to put the information that the user selects in my combo boxes into a subform that lies on the same form as the combo boxes. Thanks for your help already, Dave
2
by: Dave | last post by:
I have 3 tables of information feeding into 4 combo boxes on my main form (DR Form). I have as many list boxes (acting as text boxes) as there are fields in each one of the 3 tables. Once...
3
by: Alo2aaa | last post by:
Dear all i have two linked combo boxes (master/child) ,the user wants to have multiple selection from both combo boxes , can u tell me how can i store them in a way that i can have a unique id...
2
by: ARC | last post by:
I'm testing a user's db that contains a very large number of records. I have an invoice screen, with an invoice select dropdown box that shows all invoices, and the customer's name, etc. With...
2
by: Orbie | last post by:
Hey Guys, I'm new to VB.NET and looking for some help with combo boxes. I was wondering if it is possible to link 2 combo boxes to each other based on user selection? Example: Table 1 - Dept...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
1
by: Shællîpôpï 09 | last post by:
If u are using a keypad phone, how do u turn on JavaScript, to access features like WhatsApp, Facebook, Instagram....
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.