DbGetRecord

Prev Next Home Home Table Of Contents Index

DbGetRecord (Handle,Record,Data)

DbGetRecord reads a specific physical record from a dBase file into array Data. It sets a variable DbDeleted to true if the record is deleted. Error status information is returned in the variable FileResult. If FileResult returns 5, the record is locked. Reading beyond the end of the file will return empty data.


Example:
Handle = DbOpen 'MAILLIST.DBF' DbGetRecord(Handle,1,Data) loop Data Write LoopVal ' ' ;writes the first record endloop Writeln DbClose(Handle)

See Also: DbWriteRecord DBaseMode

Category: DBase

Prev Next Home Home Table Of Contents Index

Sponsors
Shopping
Forum
Forum
email
EMail
Index
Index
Home
Home