if (form2.Caption='化学成分查询') and ( combobox1.text='混合料厂') then
if (form2.Caption = '化学成分查询') and (combobox1.text = '混合料厂') then begin // end;
if (form2.Caption='化学成分查询') and (combobox1.text='混合料厂') then ... 如果combobox1是表单FORM2的,则还要 if (form2.Caption='化学成分查询') and (form2.combobox1.text='混合料厂') then ... 本表单的则不用加
begin
//
end;
...
如果combobox1是表单FORM2的,则还要
if (form2.Caption='化学成分查询') and (form2.combobox1.text='混合料厂') then
...
本表单的则不用加
beginend;来晚了,sigh!