SAM_FetchRow is sent to a table window whenever needs to copy a row into the table window cache. When you populate a table window, sends a SAM_FetchRow message for every row in the table window that displays. When the user scrolls forward, sends more SAM_FetchRow messages to the table window for those rows not currently in the cache that need to be displayed. You usually call SqlFetchRow to fetch a row into the table window based on the row number in lParam. Note: Setting a breakpoint on a statement that executes while processing a SAM_FetchRow message can cause incomplete painting of a table window. Message Variables hWndForm Window handle of the table window. hWndItem Window handle of the table window. wParam Unused. IParam Row number of row that was populated. Return One of three possible values: TBL_NoMoreRows - There are no rows at the specified fetch number and beyond. TBL_RowDeleted - The row has been deleted.

Namespace: PPJ.Runtime
Assembly: PPJ.Runtime.2 (in PPJ.Runtime.2.dll) Version: 2.0.1044.0 (2.0.1044.5276)

Syntax

C#
public const int SAM_FetchRow

See Also