Hi, I have this query, when Lazarus executes the query I have the error in the first row, because the result is not Null
if myQuery['Field'] <> Null then begin
Result := Integer(MyQuery['Field']) + 1;
end else begin
Result := 1;
end;
Why?
Sorry for my english