|
-
Jun 15th, 2000, 02:46 AM
#1
Thread Starter
Addicted Member
I have two data combo boxes with a data environment.
How do I select from one combo box and have the other combo box populate according to the first combo box.
I know I have to add a command in the data environment, but how do I set up. Do I have to use a child command? What is a child commmand?
Thanks!
-
Jun 15th, 2000, 04:39 AM
#2
Lively Member
when the first datacomba has been changed (event) refresh/reexecute the query (with a different commandtext(=sql statement)that fills the second datacombo.
hope this helps !
-
Jun 15th, 2000, 06:15 AM
#3
Thread Starter
Addicted Member
Thanks Kersey!
Is that the only way to do it? I actually need something like picking a certain ID from the first Combo box and the second one will give me a list of products according to the ID I picked.
-
Jun 20th, 2000, 06:32 PM
#4
Lively Member
not the only way !
there are multiple ways of doing something like this :
Hierachical grids/recordsets is a good way of handling.
but this al depends on what you want on the form on how much data , etc ,etc
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|