Thankyou for your reply. Not sure about the recordsource for the form; we
enter data directly into the forms.
Forms are JUST WINDOWS. They don't store any data at all. Data is stored in
tables, and only in tables.
If you open your form in Design view, and view its Properties, the first
property on the Data tab is the Recordsource. This may be the name of a table,
of a query, or it might be a big hairy SQL statement (another way to visualize
a query).
Our database form is composed of 6 tabs
(e.g. client details, case details, reasons, crime, actions, contacts).
I would GUESS that there is a Subform - a form based on a different table, and
linked to the current record on the mainform - on each tab page. If so each
subform has its own Recordsource (which might be the ClientDetails table, the
CaseDetails table, etc. - I don't know how your tables are structured).
The
first one (client details)is the one that doesn't lose any data. The other 5
(which I called linked records) seem to randomly lose data (but not all the
time). Please excuse my poor IT knowledge!
Without more details - which you might not be in a position to provide at the
moment, I realize! - it's awfully hard to be sure. But I suspect that you
might have some database corruption going on!
MAKE A BACKUP of your database (if you already have one, don't overwrite it,
you might need both backups). Then choose Tools... Database Utilties...
Compact and Repair. This process can repair some types of corruption. If that
doesn't help (or maybe even if it does, just for thoroughness) go to
http://www.granite.ab.com/access/corruptmdbs.htm and read up on the symptoms
and solutions to database corruption.
It's also possible that the form was not designed quite correctly - you'll
either have to learn about the mechanics of Access forms, or find someone
local who does to look at it; or find someone who's willing to let you email
the database and debug it (sorry, I'm not one of those people at the moment).
John W. Vinson [MVP]