I have the following SQL statement (used by I TOracleDataset):
INSERT INTO RAB ( GROESSE, NR, TYP, VOLUMEN, KNR,
ANWENDERNR, BESTNR1, BESTNR2, LEIHDAT, ABHOLDAT,
GEPRUEFT, BEMERK1, BEMERK2, UEBERTRAGEN,
UEBERTRDAT, BESTAND, STAMMRAB, GETEILT,
VERWENDER, KENNUNG, TOURKENNUNG, BRUTTOGEWICHT,
NETTOGEWICHT, DOSISLEISTUNG)
VALUES
GROESSE, :NR, :TYP, :VOLUMEN, :KNR,
:ANWENDERNR, :BESTNR1, :BESTNR2, :LEIHDAT,
:ABHOLDAT, :GEPRUEFT, :BEMERK1, :BEMERK2,
:UEBERTRAGEN, :UEBERTRDAT, :BESTAND,
:STAMMRAB, :GETEILT, :VERWENDER,
:KENNUNG, :TOURKENNUNG,
:BRUTTOGEWICHT, :NETTOGEWICHT,
OSISLEISTUNG)
returning recnum into :RABPOINTER
But if I try to access the variable using
odsRab.GetVariable('RABPOINTER').AsString;
I get an error message that this variable does not exist ! Why ?
Regards
Roger
INSERT INTO RAB ( GROESSE, NR, TYP, VOLUMEN, KNR,
ANWENDERNR, BESTNR1, BESTNR2, LEIHDAT, ABHOLDAT,
GEPRUEFT, BEMERK1, BEMERK2, UEBERTRAGEN,
UEBERTRDAT, BESTAND, STAMMRAB, GETEILT,
VERWENDER, KENNUNG, TOURKENNUNG, BRUTTOGEWICHT,
NETTOGEWICHT, DOSISLEISTUNG)
VALUES
:ANWENDERNR, :BESTNR1, :BESTNR2, :LEIHDAT,
:ABHOLDAT, :GEPRUEFT, :BEMERK1, :BEMERK2,
:UEBERTRAGEN, :UEBERTRDAT, :BESTAND,
:STAMMRAB, :GETEILT, :VERWENDER,
:KENNUNG, :TOURKENNUNG,
:BRUTTOGEWICHT, :NETTOGEWICHT,
returning recnum into :RABPOINTER
But if I try to access the variable using
odsRab.GetVariable('RABPOINTER').AsString;
I get an error message that this variable does not exist ! Why ?
Regards
Roger