L
lsyx
Unregistered / Unconfirmed
GUEST, unregistred user!
程序如下:
Table1.Filtered:=False;
Table1.Filter:='dah = '+Adah+' and hm = '+ComboBox1.Text;
Table1.Filtered:=True;
try
Table1.Open;
except
ShowMessage('不能打开表单');
Fjswjml.Free;
end;
dah和hm是字段名,若ComboBox1.Text=‘b’则执行时出现
“Table1:Field 'b' not found”的错误,为什么?
另外,我对Table 的Filter实现多条件查寻不太熟悉,
请各位大侠指点一二。先谢过了!
Table1.Filtered:=False;
Table1.Filter:='dah = '+Adah+' and hm = '+ComboBox1.Text;
Table1.Filtered:=True;
try
Table1.Open;
except
ShowMessage('不能打开表单');
Fjswjml.Free;
end;
dah和hm是字段名,若ComboBox1.Text=‘b’则执行时出现
“Table1:Field 'b' not found”的错误,为什么?
另外,我对Table 的Filter实现多条件查寻不太熟悉,
请各位大侠指点一二。先谢过了!