Hi
I am using tdataset.onapplyrecord to insert
to my table.
Code for my toracledataset.onapplyrecord :
if Action = 'I' then
begin
OdsPerson.DeclareQueryVariables(PersonInsertQuery);
OdsPerson.SetQueryVariables(PersonInsertQuery);
PersonInsertQuery.Execute;
NewRowId := personInsertQuery.Rowid;
Applied := True;
end;
My toraclequery (PersonInsertquery) does NOT return the rowid??? How can I get hold of the rowid. The record gets inserted though.
Thanks in advance
Ushaf
I am using tdataset.onapplyrecord to insert
to my table.
Code for my toracledataset.onapplyrecord :
if Action = 'I' then
begin
OdsPerson.DeclareQueryVariables(PersonInsertQuery);
OdsPerson.SetQueryVariables(PersonInsertQuery);
PersonInsertQuery.Execute;
NewRowId := personInsertQuery.Rowid;
Applied := True;
end;
My toraclequery (PersonInsertquery) does NOT return the rowid??? How can I get hold of the rowid. The record gets inserted though.
Thanks in advance
Ushaf