1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

Delphi 7 Database Filtering.

Discussion in 'Entertainment and Technology' started by TheMailman, Oct 6, 2014.

  1. TheMailman

    Regular Member

    Joined:
    Aug 13, 2013
    Messages:
    161
    Likes Received:
    0
    Location:
    South Africa
    Gender:
    Male
    Sexual Orientation:
    Gay
    Hey there guys!
    So I'm doing my PAT for IT, which includes writing a program involving a database that lists towns in South Africa in the different provinces, but I've caught a snag.
    I have a GroupBox with checkboxes for all the provinces; when they are checked (active) the province should be displayed, but not when they are not checked. I set the program to run with them all checked, by the way, and then you can un-check the provinces you don't want to see.
    Only I've struggle for a while now and can't get it to work.:dry:

    Could any of you guys please help me out here, please?

    I've searched the web, but I only found a Filter option, and that's not really what I'm looking for. The Filter option only let's you display one criteria of information, but I need to display more than one at a time, potentially.
     
  2. Pret Allez

    Full Member

    Joined:
    Apr 19, 2012
    Messages:
    6,785
    Likes Received:
    67
    Location:
    Seattle, WA
    Gender:
    Female (trans*)
    Gender Pronoun:
    She
    Sexual Orientation:
    Bisexual
    Out Status:
    Some people
    I have no idea what Delphi 7 is. Is this a user interface question or a SQL question?
     
  3. starfish

    Full Member

    Joined:
    Nov 11, 2008
    Messages:
    3,368
    Likes Received:
    0
    Location:
    Hippie Town, Alberta of the US
    I had no idea Delphi was still around.

    @Pret Allez, Delphi is Object Oriented Pascal. For a brief period in the late 90s it was pretty popular.

    @TheMailman, did you choose this language or is it a requirement of the course?
     
    #3 starfish, Oct 9, 2014
    Last edited: Oct 9, 2014