If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
Go to previous record
I have a form which is open. I have set up a command button to perform a series of actions. I would like this command button to also go to the previous record on the form. Any advice? I think I have to use the DoCmd.GoToRecord, but I am unsure how to use this. I am new to access and Visual basic.
The form I have is called fmservices. Thanks Ronnie |
#2
|
|||
|
|||
Go to previous record
Try adding the following line:
DoCmd.GoToRecord acActiveDataObject, , acPrevious HTH Byron -----Original Message----- I have a form which is open. I have set up a command button to perform a series of actions. I would like this command button to also go to the previous record on the form. Any advice? I think I have to use the DoCmd.GoToRecord, but I am unsure how to use this. I am new to access and Visual basic. The form I have is called fmservices. Thanks Ronnie . |
#3
|
|||
|
|||
Go to previous record
Thanks Bryon
Worked a treat "Byron" wrote: Try adding the following line: DoCmd.GoToRecord acActiveDataObject, , acPrevious HTH Byron -----Original Message----- I have a form which is open. I have set up a command button to perform a series of actions. I would like this command button to also go to the previous record on the form. Any advice? I think I have to use the DoCmd.GoToRecord, but I am unsure how to use this. I am new to access and Visual basic. The form I have is called fmservices. Thanks Ronnie . |
Thread Tools | |
Display Modes | |
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
How to get the value in previous record to current record? | Praveen Manne | Using Forms | 4 | June 21st, 2004 09:54 PM |
How to get the value in previous record to current record? | Praveen Manne | General Discussion | 4 | June 21st, 2004 09:54 PM |
Filling a new record with values from a previous record | Linda | Using Forms | 3 | June 18th, 2004 10:59 AM |
Avoid Creating A Duplicate Record | Mark | New Users | 4 | May 11th, 2004 01:52 AM |