Results 1 to 1 of 1

Thread: Determine how to generate Combox box values - RESOLVED-

  1. #1

    Thread Starter
    Hyperactive Member
    Join Date
    Apr 2003
    Posts
    308

    Question Determine how to generate Combox box values - RESOLVED-

    I have 3 combo boxes that need to be populated with information.
    CBCategory (key, value)
    CBType (decimal, long)
    CBLocation (home, work, road)

    These are independent fields for which I need to store the available options (cannot be hard coded incase changes to the fields are require like adding or removing certain choices).

    My first idea was to use SQL (already using it for my application so..), so I created a Table called “Fields” and added 3 columns (Category, Type, and Location). However SQL works by Row and the way I formulated this with 3 independent fields per row looks really bizarre.

    Either I need another option (any ideas? Registry would be nasty) or I need to formulate the SQL Table properly (can it be used for something like this?) or I can also create 3 separate SQL Tables (not recommended seeing as these fields will only contain 2-10 options each, generating 3 tables for that few entries is pointless and a waste of space (agree?)

    Any clues or help would be appreciated.



    - RESOLVED -
    Using 1 Table and isolating the required columns (SQL) works like a charm.
    Last edited by Shaitan00; Jul 8th, 2004 at 10:33 AM.

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