Hi Roachina
I have to say I don't like the blank record idea. I think it's asking for
trouble down the track - for example you will always need to remember to
filter it out of reports etc.
See my last post for alternative suggestions - a dialog form to pre-search
for the desired record or locking all the editable controls.
Another possibility that just occurred to me is to make the entire detail
section of your form invisible when the form loads:
Me.Section(acDetail).Visible = False
Of course, your buttons and any search/selection controls would need to be
in the header or footer of the form. When required, after going to the new
record or finding an existing one, you can make the section visible again.
As Linq says in his signature, "There's ALWAYS more than one way to skin a
cat!"
--
Good Luck
Graham Mandeno [Access MVP]
Auckland, New Zealand
Roachina said:
Hi Graham and Linq,
I'm still pretty new at Access, so I REALLY appreciate your help.
I like the alternative of actually having a blank record and going to that
record in Form_Load, with Me.AllowEdits = False.
I didn't know how to save a blank record to my table, so what I did was I
added an extra column which I added the word "Blank" into. This column
will
NOT be a field on my form. So, this blank record will be the only one
with
something entered into that column.
So, the next question is: How do I get the form to initially open to that
"blank" record?
Thank you!
Rochelle