T_zb_0502: TADOTable;procedure TF_Query.BitBtn1Click(Sender: TObject);
begin
MainObject.F_main.T_zb_0502.Locate('no', VarArrayOf([edit1.Text]), [loPartialKey]);
end;
[Error] T_Query.pas(41): Undeclared identifier: 'loPartialKey'
[Error] T_Query.pas(41): Incompatible types: 'TLocateOption' and 'Integer'帮我解决一下。谢谢
begin
MainObject.F_main.T_zb_0502.Locate('no', VarArrayOf([edit1.Text]), [loPartialKey]);
end;
[Error] T_Query.pas(41): Undeclared identifier: 'loPartialKey'
[Error] T_Query.pas(41): Incompatible types: 'TLocateOption' and 'Integer'帮我解决一下。谢谢
2.MainObject.F_main.T_zb_0502.Locate('no', VarArrayOf([edit1.Text]), [loPartialKey]); [loPartialKey] 应为Integer类型。
MainObject.F_main.T_zb_0502.Locate('no', VarArrayOf([edit1.Text]),0);
end;procedure TF_Query.BitBtn1Click(Sender: TObject);
begin
MainObject.F_main.T_zb_0502.Locate('no', VarArrayOf([edit1.Text]),[0]);
end;都不行