True DataControl 8.0 Reference > True DataControl Control > TData Control Properties > BOFAction Property |
BOFAction Property
Action taken on reaching BOF (begin of file).
TData.BOFAction = value
Read/Write at run time and design time. Property applies to TData control and TDataLite control.
Design Time |
Run Time |
0 - MoveFirst |
adDoMoveFirst |
1 - StayBOF |
adStayBOF |
This property determines the action taken when the user attempts to move backward past the first data record by pressing the TData control’s Previous button. When set to 0 - MoveFirst (the default), the control makes the first record current. When set to 1 - StayBOF, the control positions before the beginning of the recordset (BOF), and disables its Move Previous button.
Note: At design time, this property is not available in property pages and must be set in the Visual Basic Properties window.
See Also