Henley12 Troy University Fan Local time Today, 03:37 Joined Oct 10, 2007 Messages 222 Apr 28, 2010 #1 When I delete a record on a form, I want the form to go to the previous record. This is no problem except when the record I want to delete is the first record. How do I check for that?
When I delete a record on a form, I want the form to go to the previous record. This is no problem except when the record I want to delete is the first record. How do I check for that?
boblarson Smeghead Local time Today, 01:37 Joined Jan 12, 2001 Messages 32,040 Apr 28, 2010 #2 Just use an error handler. You can check for error 2105 and just ignore it.
Henley12 Troy University Fan Local time Today, 03:37 Joined Oct 10, 2007 Messages 222 May 10, 2010 #3 Forgive my ignorance, Bob, but how do I check for a specific error code?
jdraw Super Moderator Staff member Local time Today, 04:37 Joined Jan 23, 2006 Messages 15,498 May 11, 2010 #4 Henley12 said: Forgive my ignorance, Bob, but how do I check for a specific error code? Click to expand... You should get familiar with error handling if you write any vba code. http://allenbrowne.com/ser-23b.html
Henley12 said: Forgive my ignorance, Bob, but how do I check for a specific error code? Click to expand... You should get familiar with error handling if you write any vba code. http://allenbrowne.com/ser-23b.html