I have a DBgrid where I would like to display some of the fields as drop down lists that present a string to the user but return an index number to the field in the attached paradox database table (I'm using the BDE).
I can do this by creating a lookup field in the grid that displays the records from another small table in the drop down box, but I have quite a few of these fields and it seems a bit messy to create many small database tables just to store a few options for drop down lists.
Is there a way to use hard coded array constants as the source data for the drop down lists or specify the list items at design time.
The DBRadioGroup seems to have the type of functionality I am looking for where you can enter the strings at design time, but the DBLookupCombo and the drop down in DBgrid doesn't.
Any suggestions.
RonR
I can do this by creating a lookup field in the grid that displays the records from another small table in the drop down box, but I have quite a few of these fields and it seems a bit messy to create many small database tables just to store a few options for drop down lists.
Is there a way to use hard coded array constants as the source data for the drop down lists or specify the list items at design time.
The DBRadioGroup seems to have the type of functionality I am looking for where you can enter the strings at design time, but the DBLookupCombo and the drop down in DBgrid doesn't.
Any suggestions.
RonR