var
MyDate: TDateTime;
MyDate := EncodeDate(StrToInt(AQ_search.FieldByName('nf').Text), StrToInt(AQ_search.FieldByName('yf').Text), StrToInt(AQ_search.FieldByName('KQ_DAY').Text));
with AQ_search do
if (MyDate>dtp1.Date and MyDate<dtp2.Date) then
提示
[Error] P_cx.pas(86): Operator not applicable to this operand type
是不是类型不相同???
MyDate: TDateTime;
MyDate := EncodeDate(StrToInt(AQ_search.FieldByName('nf').Text), StrToInt(AQ_search.FieldByName('yf').Text), StrToInt(AQ_search.FieldByName('KQ_DAY').Text));
with AQ_search do
if (MyDate>dtp1.Date and MyDate<dtp2.Date) then
提示
[Error] P_cx.pas(86): Operator not applicable to this operand type
是不是类型不相同???
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货