I have 2 databases with a master/detail relationship. Let's call the master (Project) and the detail (Trial)
I would like to have 2 DBCombobox that are populated with the name of each project in the first DBcombobox and then its associated trial in the second DBCombobox.
also when i select a different project, I would like to have the trial dbcombobox to be refreshed.
The project database looks like that:
Project_ID (Keyfield)
Project_Name
The trial Database looks like that
Trial_D (keyfield)
Project_ID
Trial)Name.
I do not know if that can be accomplished or is there a better way to handle that. Right now i am using 2 DBgrid but I do not like the look of it. Too bulky.
Thanks.
P
I would like to have 2 DBCombobox that are populated with the name of each project in the first DBcombobox and then its associated trial in the second DBCombobox.
also when i select a different project, I would like to have the trial dbcombobox to be refreshed.
The project database looks like that:
Project_ID (Keyfield)
Project_Name
The trial Database looks like that
Trial_D (keyfield)
Project_ID
Trial)Name.
I do not know if that can be accomplished or is there a better way to handle that. Right now i am using 2 DBgrid but I do not like the look of it. Too bulky.
Thanks.
P