Kbase P27246: Error 2128 with SmartBrowser when the first row is updated
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  19/06/2003 |
|
Status: Unverified
SYMPTOM(s):
Error 2128 with SmartBrowser when the first row is updated
Invalid or inappropriate handle value given to RUN...IN statement. Procedure '<calling-procedure>':<line-number>. (2128)
Invalid or inappropriate handle value given to RUN...IN statement. adm-update-record '<calling-procedure>':<line-number>. (2128)
CAUSE:
The internal procedure adm-update-record of tableio.i does a get-link-handle call to get the record-source for this object and then running the new-first-record internal procedure in the record-source. When the record-source is not defined it raises this error.
FIX:
Add the NO-ERROR phrase to the following statement in the adm-update-record procedure in tableio.i and recompile your app:
RUN new-first-record IN WIDGET-HANDLE(cRecordSrc) (INPUT ROWID ({&adm-first-enabled-table}))
Please, do a copy of tableio.i before preceding to modify it.