The table control represents a single table in a database. This control enumerates connection objects located on an MDI form and on local or SDI forms, allowing you to create SDI or just-in-time (non-persistent) MDI/SDI applications. The table control displays a list of all local and global connection controls found in the active project.
If an MDI is created with a child form, and a table with a DBDataBinder is created on the child form, the code to open the table is created automatically by PickDP. If the table and databinder are created directly on an SDI form, a manual table.open must be executed for the databinder to fill properly.
|
Constructor. |
|
Closes the table. | |
|
Deletes an item from the table. | |
|
Fills the specified combo boxes associated with this table. | |
|
Fills the specified list boxes associated with this table. | |
|
Gets the connection Object to access to the database. | |
|
Gets the connDatabase Object that is accessed by the table. | |
|
Returns the names of the fields in the table. | |
|
Gets an item from the table. | |
|
Gets the read status of the item being read. | |
|
Returns the connTable representing this table. | |
|
Returns the connection status. | |
|
Returns the locking status of the item being read. | |
|
Returns whether the table is open or closed. | |
|
Returns a copy of the current instance. For internal use only. | |
|
Opens the table. The table name to open is indicated by the TableName property. All bindings using the table must be established before the table is opened. | |
|
Releases locks of all items for the current table. | |
|
Releases the lock for the current item. | |
|
Sets the connection Object of the table. | |
|
Sets the connTable Object. Provides the ability to change data source (connTable) at runtime. | |
|
Writes an item to the table. |
|
Name |
Type |
Description |
|
RDTA.PickDP.Extensions.connection |
Gets or sets the connection. | |
|
String |
Gets or sets the connection name. | |
|
Boolean |
When creating an MDI application, you can add a connection control to the MDI form or any SDI (child) form. This property:
| |
|
String |
Gets or sets the lock type. | |
|
String |
Gets or sets the subtable name (data section). | |
|
String |
Gets or sets the table name. |
|
Name |
Type |
Description |
|
Event |
Event triggered after a delete. | |
|
Event |
Event triggered after an open. | |
|
Event |
Event triggered after a read. | |
|
Event |
Event triggered after a write. | |
|
Event |
Event triggered before a delete. | |
|
Event |
Event triggered before an open. | |
|
Event |
Event triggered before a read. | |
|
Event |
Event triggered before a write | |
|
Event |
Event triggered when attempting to read, write, or delete a locked record. | |
|
Event |
Event triggered when attempting to read a record that does not exist. |