GetTrans  GetValidate

Chapter 9: Methods for the DataWindow Control

GetUpdateStatus

Description

Reports the row number and buffer of the row that is currently being updated in the database. When called because of an error, GetUpdateStatus reports the row that caused the error.

NoteObsolete method GetUpdateStatus is obsolete. The update status is available as an argument in the DBError and SQLPreview events.

Syntax

PowerBuilder DataWindow control or child DataWindow

integer dwcontrol.GetUpdateStatus (long row, DWBuffer dwbuffer )

Returns

Returns 1 if it succeeds and -1 if an error occurs. The number and buffer of the row currently being updated are stored in row and dwbuffer. If any argument value is NULL, the method returns NULL.





Copyright © 2004. Sybase Inc. All rights reserved. GetValidate

View this book as PDF