adoData2.Active := False;
adoData2.SQL.Text := 'select top 1 * from bs_Data where Point='+QuotedStr(p2);
adoData2.Active := True;
--------------------------------------------------------------------
[错误] Unit_Main.pas(508): Incompatible types: 'String' and 'TLabel'
紧急求助,出现以上错误怎么解决
adoData2.SQL.Text := 'select top 1 * from bs_Data where Point='+QuotedStr(p2);
adoData2.Active := True;
--------------------------------------------------------------------
[错误] Unit_Main.pas(508): Incompatible types: 'String' and 'TLabel'
紧急求助,出现以上错误怎么解决
QuotedStr(p2.Caption); ?
adoData2.SQL.Text := 'select top 1 * from bs_Data where Point='+QuotedStr(p2.Caption);
adoData2.Active := True; 是不是应该这样?
QuotedStr(p2.Caption) 再问一下这么写是为什么