RDTA.PickDP.Connector.connTable Class

This class provides low-level data manipulation to a Pick file.

Public Constructors

New

Constructor. For internal use only.

Public Methods

clearFile

Clears the Pick file opened by the connDatabase.open method.

close

Closes the table on the server and releases all resources.

createItem

Returns a new connItem.

DeleteItem

Deletes the last item read or the item specified by the Id.

Finalize

Cleans up the Table.

getError

For internal use only.

getFileManager

For internal use only.

getItem

Gets an item from the table.

getItId

For internal use only.

getMsg

For internal use only.

getPickRecord

Retrieves the Pick Record or Item most recently read into the table by a ReadNext, Read, or ReadU method. A connDynamicArray can be created from this record, thus allowing data manipulation.

getTableName

Gets the name of the current table.

getTimeDict

For internal use only.

getTimeOpen

For internal use only.

isClosed

Returns True if the table is closed.

isLocked

Returns True if the item being read is locked.

isNew

Returns True if the current item is new.

MemberwiseClone

Returns a copy of the current instance.

open

Opens a table.

Read

Reads a document from the table using the specified ItemId.

ReadNext

Reads the next Record from the table whose ID is stored in the list created by a connDatabase.CreateSelectList call.

ReadU

Reads and sets a pessimistic lock on a document from the table with the specified ItemId.

Release

Releases the current locked record.

ReleaseAll

Releases all locked records from the active table.

setItem

Writes the item to a file.

setItemId

Sets the indicated ItemId as the active record.

setTableName

Sets the active table name.

ToString

Returns a string that represents the current instance.

Write

Writes the specific document to the table using the specified ItemId.

WriteU

Writes the specific document to the table using the specified ItemId. Sets a pessimistic lock on the document.

Examples

connTable.ReadNext Program

5