Environment: Delphi 5 and DOA 3.4.1
I am trying to use the pkgApply to show me how to use the OnApplyRecord. I am trying to update a CLOB column in a table using the same structure represented in pkgApply but I am getting the following error: Pass LongInt(object) to complex variable :NOTES.
I don't know if this is referring to my LOB or not.
Here is the code I am using in the update of my case statement:
with workQuery do
begin
Call := 'GSD.NotesAPI.UpdateRecord(
ld_instance, :instance, :notes, :classification)';
Clear;
SQL.Add('begin');
SQL.Add(' ' + Call + ';');
SQL.Add('end;');
Sender.DeclareQueryVariables(workQuery);
Sender.SetQueryVariables(workQuery);
Execute;
notes.Text := GetVariable('notes').asString;
securityLevel.Text := GetVariable('classification');
end;
I am trying to update the notes field (the CLOB).
Any help would be appreciated.
I am trying to use the pkgApply to show me how to use the OnApplyRecord. I am trying to update a CLOB column in a table using the same structure represented in pkgApply but I am getting the following error: Pass LongInt(object) to complex variable :NOTES.
I don't know if this is referring to my LOB or not.
Here is the code I am using in the update of my case statement:
with workQuery do
begin
Call := 'GSD.NotesAPI.UpdateRecord(

Clear;
SQL.Add('begin');
SQL.Add(' ' + Call + ';');
SQL.Add('end;');
Sender.DeclareQueryVariables(workQuery);
Sender.SetQueryVariables(workQuery);
Execute;
notes.Text := GetVariable('notes').asString;
securityLevel.Text := GetVariable('classification');
end;
I am trying to update the notes field (the CLOB).
Any help would be appreciated.