Cicode Programming Reference > Cicode Function Categories > Device Functions Introduction > DevFirst

DevFirst

Finds the first record in a device.

Syntax

DevFirst(hDev)

hDev:

The device handle, returned from the DevOpen() function. The device handle identifies the table where all data on the associated device is stored.

Return Value

The first indexed record (if the device is an indexed database), otherwise the first record in the device.

Related Functions

DevOpen, DevClose

Example

! Find the first record.
FirstRec = DevFirst(hDev);

See Also

Device Functions