DbWriteRecord

Prev Next Home Home Table Of Contents Index

DbWriteRecord (Handle,Record,Data) DbWriteRecord writes a physical

record into a dBase file from Data at location Record. Error status information is returned in the variable FileResult. If FileResult returns 5, the record is locked.

MarxMenu automatically sets file locks while writing to a record so that it prevents multiple writes to the same record when used on a network.

If you write a record that is one record past the end of the file, the record will be appended. If you write beyond the end of the file, MarxMenu will fill in the gap with empty deleted records.


Example:
Handle = DbOpen 'MAILLIST.DBF' DbWriteRecord(Handle,45,Data) DbClose(Handle)

See Also: DbGetRecord

Category: DBase

Prev Next Home Home Table Of Contents Index

Sponsors
Shopping
Forum
Forum
email
EMail
Index
Index
Home
Home