友
友好
Unregistered / Unconfirmed
GUEST, unregistred user!
语句如下:
SQL:='Select * from 业务表';
SQL1:=' where 日期 =:MyDate';
SQL:=SQL+SQL1;
ywADOQuery.SQL.Add(SQL);
ywADOQuery.Parameters.paramvalues['MyDate'].asdate:=StrToDate(jhtimeDBEdit.EditText);
ywADOQuery.open;
MyDate为ftDate类型
运行出现“Variant does not reference an automation object”出错提示请专家指点!
SQL:='Select * from 业务表';
SQL1:=' where 日期 =:MyDate';
SQL:=SQL+SQL1;
ywADOQuery.SQL.Add(SQL);
ywADOQuery.Parameters.paramvalues['MyDate'].asdate:=StrToDate(jhtimeDBEdit.EditText);
ywADOQuery.open;
MyDate为ftDate类型
运行出现“Variant does not reference an automation object”出错提示请专家指点!