Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Westi on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What's the best way...

Status
Not open for further replies.

Yazster

Programmer
Sep 20, 2000
175
CA
I'm currently developing an ActiveX control designed to provide access to a specific database and perform various queries. The purpose of this is to provide our developers with the ability to perform queries without having to worry about SQL queries and such.

My database connects when the DatabaseName property is populated, and I use an enumeration to provide all the available types of queries.

My question really concerns the enumeration. My database has 13 fields and I currently have 19 different options in my enumeration. I find this is a lot and see this list potentially growing. There are so many combinations of fields that could be used to perform queries that I see the enumeration getting out of hand.

However, my control works extremely well and is very easy to use. Everyone is happy with it but I was just wondering if there was a better way of doing it.

Anybody have any ideas?

Thanks,
Yazster
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top