You are not logged in.
Pages: 1
I have created a TSQLRecord descendant and I forgeted putting this class in TSQLModel.
When running the application, I get a AV in this code:
c := TClient.Create(DB, 1); // I want the record with ID=1
if I rewrite the code as
c := TClient.Create;
try
c.FillPrepare(DB, 'id=?', [1]);
c.FillOne;
...
finally
c.Free;
end
Then I get the appropriate error message "Class is missing in the model".
Offline
Offline
Pages: 1