|
-
Nov 16th, 2000, 09:44 AM
#1
Thread Starter
Junior Member
I have two questions. . . .
1.) I am using (4) buttons to navigate the recordset. They are cmdFirst, cmdPrevious, cmdNext & cmdLast. The code I am using is AdodcMaster.Recordset.MoveFirst,Previous etc.
The problem I am having is that if I navigate to the very last record or the very first record and then keep hitting that button I recieve an error: Either BOF or EOF is True, or the current record has been deleted; the operation requested by the application requires a current record. How do I keep this from happening. Perhaps an error message stating that they have reached the end???
2.) I am wanting to put a label on my app that reflects what record the user is curerntly working on. I.E. Employee 40 of 536. . . . I know that the code is similar to AdodcMaster.Recordset.Caption, but I am not sure what code to use to get this effect (Employee # of #).
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|