I'm updating a project from ODAC February 2011 to ODAC 9.6.21 for RAD Studio 10.
There's one line of code which does not compile:
Code: Select all
function TfrmMainAOS.EnqueueFARMS : Boolean;
var
OraSQL : TUniSQL;
PayLoad : string;
begin
Result := False;
try
OraSession.ConnectString := edtConnectString.Text;
PayLoad := Format(mom_out.Lines.Text, [
XMLDateTimeStr(Int(FStartDate)), XMLDateTimeStr(Int(FEndDate)), XMLDateTimeStr(Now)]);
AddResults(Format('PayLoad: [%s]', [PayLoad]));
OraSQL := TUniSQL.Create(nil);
OraSQL.Session := OraSession;
How do I fix that? TIA, Markus