|
|
||||||||
|
Properties, Methods and Events for the SCIROCCO ADO Data Control 1.0 (If you have any questions or need help using the control please contact |
|
| Data Properties |
||||||||||||||||||
|
Connection (Object)
You can retrieve the current connection being used by the Data Control using this Object Property. It represents an open ADO connection to a data source. Set MyConnection = SCIROCCOADODataControl.Connection Return to Top |
||||||||||||||||||
|
CursorLocation
Specifies the location of the cursor service.
|
||||||||||||||||||
|
CursorType
Specifies the type of cursor used.
|
||||||||||||||||||
|
DisconnectedRecordset
Specifies if the recordset is disconnected or connected. The CursorLocation must be set to adUseClient.
|
||||||||||||||||||
|
LockType
Specifies the type of lock placed on records during editing.
|
||||||||||||||||||
|
Recordset (Object)
You can set or retrieve the current recordset being used by the Data Control using this Object Property. It represents an open ADO recordset. The Object property is very useful when you want to set the Data Control to another recordset. Syntax Example: Set SCIROCCOADODataControl.Recordset = MyRecordset Return to Top |
||||||||||||||||||
|
RefreshMode
Specifies the scope of the Refresh Button.
|
||||||||||||||||||
|
Transactions
Specifies whether transactions are used. Transactions are only available with the CursorLocation set to adUseServer.
|
||||||||||||||||||
| Appearance Properties |
|||||||||||||||||||||||||||||||||||||||||||||||||||
|
AboutVisible
This property is only available on the registered control. Set this property to make visible or hide the About button.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
|
BackColor
Returns or sets the background color of the control. Return to Top |
|||||||||||||||||||||||||||||||||||||||||||||||||||
|
CaptionOn
Set this property to make visible or hide the captions of the buttons.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
|
Enabled
This attribute specifies if the control is enabled or disabled. The buttons appear gray when disabled.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
|
FontName
Returns or sets the FONT used by the captions in the control. Return to Top |
|||||||||||||||||||||||||||||||||||||||||||||||||||
|
FontSize
Returns or sets the FONT SIZE used by the captions in the control. Return to Top |
|||||||||||||||||||||||||||||||||||||||||||||||||||
|
Height
Returns or sets the height dimension of the control. Return to Top |
|||||||||||||||||||||||||||||||||||||||||||||||||||
|
Language (Coming Soon)
Returns or sets the language of the control
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
|
MousePointer
Returns or sets a value indicating the type of mouse pointer displayed when the mouse is over the control at run time.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
|
PictureOn
Set this property to make visible or hide the pictures of the buttons.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
|
Visible
Returns or sets a value indicating whether an the control is visible or hidden.
|
|||||||||||||||||||||||||||||||||||||||||||||||||||
|
Width
Returns or sets the width dimension of the control. Return to Top |
| Misc Properties |
|
Version
Returns the version of the control. Return to Top |
| Recordset Methods |
||||||
|
OpenRecordset
Creates and opens a new Recordset object and appends it to the control. The SCIROCCO ADO Data Control is now bound to this recordset. Syntax SCIROCCOADODataControl.OpenRecordset (SQLStatement, ConnectionString ) The OpenRecordset method syntax has these parts.
|
||||||
|
CloseRecordset
Closes recordset and connection (if not a disconnected recordset) and releases them from memory. Syntax SCIROCCOADODataControl.CloseRecordset() Return to Top |
||||||
| Data Methods |
||||||
|
AddNew
Adds a new record to the current recordset. Calling this method is the same as clicking on the Add New command button. If the Add New command button is disabled calling this method will have no effect. Syntax SCIROCCOADODataControl.AddNew() Return to Top |
||||||
|
Delete
Deletes the current record from the recordset. Calling this method is the same as clicking on the Delete command button. If the Delete command button is disabled calling this method will have no effect. Syntax SCIROCCOADODataControl.Delete() Return to Top |
||||||
|
Refresh
Refreshs the current recordset. Calling this method is the same as clicking on the Refresh command button. If the Refresh command button is disabled calling this method will have no effect. Syntax SCIROCCOADODataControl.Refresh() Return to Top |
||||||
|
Find
Displays the Find dialog box. Calling this method is the same as clicking on the Find command button. If the Find command button is disabled calling this method will have no effect. Syntax SCIROCCOADODataControl.Find() Return to Top |
||||||
|
Undo
Undoes additions, changes or deletions that haven't been saved. Calling this method is the same as clicking on the Undo command button. If the Undo command button is disabled calling this method will have no effect. Syntax SCIROCCOADODataControl.Undo() Return to Top |
||||||
|
Save
Saves additions, changes or deletions to current recordset. Calling this method is the same as clicking on the Save command button. If the Save command button is disabled calling this method will have no effect. Syntax SCIROCCOADODataControl.Save() Return to Top |
||||||
| Navigation Methods |
|
MoveFirst
Moves the record pointer to the first record of the current recordset. Calling this method is the same as clicking on the MoveFirst command button. If the MoveFirst command button is disabled calling this method will have no effect. Return to Top |
|
MovePrevious
Moves the record pointer to the previous (or first) record of the current recordset. Calling this method is the same as clicking on the MovePrevious command button. If the MovePrevious command button is disabled calling this method will have no effect. Return to Top |
|
MoveNext
Moves the record pointer to the next (or last) record of the current recordset. Calling this method is the same as clicking on the MoveNext command button. If the MoveNext command button is disabled calling this method will have no effect. Return to Top |
|
MoveLast
Moves the record pointer to the last record of the current recordset. Calling this method is the same as clicking on the MoveLast command button. If the MoveLast command button is disabled calling this method will have no effect. Return to Top |
| Close Methods |
|
CloseClick
Closes the form that the control is on. Calling this method is the same as clicking on the Close command button. If the Close command button is disabled calling this method will have no effect. Syntax SCIROCCOADODataControl.CloseClick() Return to Top |
| Misc Methods |
|
About
Displays the About Screen. Syntax SCIROCCOADODataControl.About() Return to Top |
| StartUp Events |
|
Initialize
Occurs after the control is loaded into memory. You can use this event to open your recordset or bind your controls. Return to Top |
| Data Events |
|
AddNewComplete
Occurs after clicking the Add New button and the successful addition of a new record. Return to Top |
|
DeleteComplete
Occurs after clicking the Delete button and the successful deletion of the current record. Return to Top |
|
RefreshComplete
Occurs after clicking the Refresh button and a successful refresh of the data. Return to Top |
|
UndoComplete
Occurs after clicking the Undo button and a successful restoring of the data. Return to Top |
|
SaveComplete
Occurs after clicking the Save button and a successful save of the data. Return to Top |
| Navigation Events |
|
MoveComplete
Occurs after clicking on any of the navigation buttons and the move has completed. Return to Top |
|
MoveFirstComplete
Occurs after clicking the Move First button and the current record has become the first record. Return to Top |
|
MovePreviousComplete
Occurs after clicking the Move Previous button and the current record has become the previous or first record. Return to Top |
|
MoveNextComplete
Occurs after clicking the Move Next button and the current record has become the next or last record. Return to Top |
|
MoveLastComplete
Occurs after clicking the Move Last button and the current record has become the last record. Return to Top |
| Close Events |
|
Terminate
Occurs before the control will be released from memory. Return to Top |
|
CloseClicked
Occurs after clicking the Close button and before the Terminate event. Return to Top |
|
|
|
|
|
|
|
|
|
Copyright 2003-2004 © |