Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

AutoNumber line showing up on bottom of form.

Status
Not open for further replies.

needadvice

Programmer
Apr 7, 2002
145
US
I have a form that pulls up a set of records (based on a SSN) for editing.
It works ok, but the bottom record appears to be the autonumber line from the table. All the fields are blank.
I have no use for this on the screen and would like get rid of it.
Any ideas?
 
I think the problem you are having is with the EOFAction of the Datasource. When you get to the last recordset of your database its action is to create a new record. That is why you recieve an autonumber and all the other fields are blank. Look at the "EOFAction" property of your recordsource. Is it set to "2-AddNew"? If it is, try setting it to "0-MoveLast".

-Tim
 
Are you sure this is not the record navigation control?

MichaelRed
m.red@att.net

There is never time to do it right but there is always time to do it over
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top