Click or drag to resize

DataWindow.GoTop Method

X#
Position the data server connected to this data window on the first logical record and update the window based on the change.

Namespace:  VO
Assembly:  VOGUIClasses (in VOGUIClasses.dll) Version: 2.21
Syntax
 VIRTUAL METHOD GoTop() AS USUAL
Request Example View Source

Return Value

Type: Usual
TRUE if successful; otherwise, FALSE.
Remarks
When executed successfully, the data server sends a NotifyGoTop message to all of its clients, including this data window. DataWindow:GoTop() can fail for many reasons, from a lack of capability in the server to lock conflicts to technical problems, such as network crashes. Use the DataServer:Status property to determine the exact cause of the failure. Note also that DataWindow:GoTop(), like all repositioning operations, is subject to validation—if the current data in the window fails validation, it cannot be written out and the move is refused.
See Also