colttaylor
Programmer
I have an application which tracks customer support events such as phone-calls, bug-reports, faxes, etc. and stores them in a database table called Events.
I have an integer field in my events table called eventtype. It has eight distinct values, each of which represent a different type of event such that...
a value of 0 means phone call
a value of 1 means fax
a value of 2 means email
...and so on.
I want to put a dbcombo on the event entry screen which will allow the user to select what type of event they are entering, but although the stored values are integers, I would like the items available in the combobox's pulldown to be human-readable text.
One last twist...
The event entry screen is actually a DBCtrlGrid, so dblookupcombo won't work.
Any Ideas?
Thanks for the help!
Peace,
Colt
If it's stupid but it works, it isn't stupid
I have an integer field in my events table called eventtype. It has eight distinct values, each of which represent a different type of event such that...
a value of 0 means phone call
a value of 1 means fax
a value of 2 means email
...and so on.
I want to put a dbcombo on the event entry screen which will allow the user to select what type of event they are entering, but although the stored values are integers, I would like the items available in the combobox's pulldown to be human-readable text.
One last twist...
The event entry screen is actually a DBCtrlGrid, so dblookupcombo won't work.
Any Ideas?
Thanks for the help!
Peace,
Colt
If it's stupid but it works, it isn't stupid