Hi to all!!
I’m quite new to developer 2000.
I need ur help regarding the combo boxes.
I want to create two combo boxes which should display the values obtained from other tables.
The first combo box should display the list of make (field name) from the table make and another should display a list of model from the table model. The make list is working fine but the model list isn’t. It should display only those models which are referring to that particular make (e,g if the make is Honda then it should display only Civic,City, etc). Instead, it is displaying all the models, which are stored in that table (model).
For this purpose I have created two record groups called make_rg and model_rg. Here is the query which I’m writing in the record group:
Make_rg:
Select make_nm, to_char(make_cd) from make order by make_nm
Model_rg:
select model_nm, to_char(model_cd) from model, make where make.make_cd = model.make_cd order by model_nm
I have also created a procedure which is being called in the new_form_instance trigger.
Am I doing it correctly? Am i referring the tables correctly?
What ever the problem is please help me out as soon as possible as I don’t have much time left.
Any help would be really appreciated.
Regards,
AsiaK
I’m quite new to developer 2000.
I need ur help regarding the combo boxes.
I want to create two combo boxes which should display the values obtained from other tables.
The first combo box should display the list of make (field name) from the table make and another should display a list of model from the table model. The make list is working fine but the model list isn’t. It should display only those models which are referring to that particular make (e,g if the make is Honda then it should display only Civic,City, etc). Instead, it is displaying all the models, which are stored in that table (model).
For this purpose I have created two record groups called make_rg and model_rg. Here is the query which I’m writing in the record group:
Make_rg:
Select make_nm, to_char(make_cd) from make order by make_nm
Model_rg:
select model_nm, to_char(model_cd) from model, make where make.make_cd = model.make_cd order by model_nm
I have also created a procedure which is being called in the new_form_instance trigger.
Am I doing it correctly? Am i referring the tables correctly?
What ever the problem is please help me out as soon as possible as I don’t have much time left.
Any help would be really appreciated.
Regards,
AsiaK