C
C.g.Lee
Unregistered / Unconfirmed
GUEST, unregistred user!
with Department do
begin
Filtered:=False;
Filter:='Groupx=4';
Filtered:=True;
if FindFirst then CbxdeptName.Items.Add(fieldbyName('DeptName').asstring);
While FIndNext do CbxDeptName.Items.Add(fieldbyName('DeptName').asstring);
end;
独立运行无问题,但在Ide运行下会提示 EdatabaseError Recordset Department:record not found,
影响程序的调试,挺讨厌的,有谁来解决问题(Must Use Filter Method)!
begin
Filtered:=False;
Filter:='Groupx=4';
Filtered:=True;
if FindFirst then CbxdeptName.Items.Add(fieldbyName('DeptName').asstring);
While FIndNext do CbxDeptName.Items.Add(fieldbyName('DeptName').asstring);
end;
独立运行无问题,但在Ide运行下会提示 EdatabaseError Recordset Department:record not found,
影响程序的调试,挺讨厌的,有谁来解决问题(Must Use Filter Method)!