Results 1 to 4 of 4

Thread: Help on an easy data environment question?

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    May 2000
    Posts
    247
    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!
    Mako Shark
    Great White

  2. #2
    Lively Member Kersey's Avatar
    Join Date
    Jun 1999
    Location
    The Netherlands
    Posts
    101
    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 !

  3. #3

    Thread Starter
    Addicted Member
    Join Date
    May 2000
    Posts
    247
    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.
    Mako Shark
    Great White

  4. #4
    Lively Member Kersey's Avatar
    Join Date
    Jun 1999
    Location
    The Netherlands
    Posts
    101

    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
  •  



Click Here to Expand Forum to Full Width