> > > We have a form in a database for viewing records.
> > > If Records -Data Entry is clicked, we get a blank form to enter data,
[quoted text clipped - 17 lines]
> will check the properties on that button and see if it can be sorted
> Leigh
> I have looked at the Button properties, and it runs a subroutine.
> The OnClick
[quoted text clipped - 8 lines]
> stDocName = "Member Details"
> DoCmd.OpenForm stDocName, , , stLinkCriteria
Hmm, normally the next argument (after stLinkCriteria) would be the one that
would override the default setting for the form. To coerce the form into
DataEntry mode I would have expected to see...
DoCmd.OpenForm stDocName, , , stLinkCriteria, acFormAdd
What is the DataEntry property of the form in question? If you don't want a
blank form upon opening that property should be set to No.

Signature
Rick Brandt, Microsoft Access MVP
Email (as appropriate) to...
RBrandt at Hunter dot com
LeighB - 06 May 2007 23:42 GMT
> > I have looked at the Button properties, and it runs a subroutine.
> > The OnClick
[quoted text clipped - 17 lines]
> What is the DataEntry property of the form in question? If you don't want a
> blank form upon opening that property should be set to No.
Hi Rick,
The DataEntry property of the form is set to No,
On my copy of the database at home, I have found a work around, if I click
Records Data Entry I get the blank form behaviour I described in my OP.
However when I have the blank form I click Records Remove filter/sort, then
Records Apply Filter/sort
It does seem to reset the database back to normal behaviour.
I will try that at the Club tomorrow to see if that is a permanent fix
LeighB - 08 May 2007 13:15 GMT
Hi Rick,
Just to let you know that the routine I described worked on the office copy,
so we are back to normal working!
Thanks for you help
Leigh
> > > I have looked at the Button properties, and it runs a subroutine.
> > > The OnClick
[quoted text clipped - 27 lines]
> It does seem to reset the database back to normal behaviour.
> I will try that at the Club tomorrow to see if that is a permanent fix