Kbase P95331: Assigning hBufferField:BUFFER-VALUE leads to error 142 and 3131 if the buffer holds no record
Autor |
  Progress Software Corporation - Progress |
Acesso |
  Público |
Publicação |
  10/25/2004 |
|
Status: Unverified
FACT(s) (Environment):
Progress 9.1D
OpenEdge 10
SYMPTOM(s):
Doing hBufferField:BUFFER-VALUE = hWidget:INPUT-VALUE
** Unable to update <filename> Field. (142)
Unable to set attribute BUFFER-VALUE in widget of type BUFFER-FIELD. (3131)
CAUSE:
No record was available in the buffer. A dynamic temp-table was passed as a TABLE-HANDLE PARAMETER, but no FIND or GET was performed to make the buffer fetch a record.
FIX:
Make sure a record is available in the buffer before trying to assign one of its field.