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 wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

deleting last record 2

Status
Not open for further replies.

kkson

MIS
Dec 28, 2003
67
US
On my form I can delete a record with a button. If I delete the last record of the table (I know this because I just added it to the table) the fields all go blank and when I try to go to another record I get the index or primary key can't be blank.

Thanks
 
Ignorance is bliss! I used it at the end of the same sub that, on clicking a command button, causes the current record to be inserted in a different table and deleted from the active table.


WillyG
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top