![]() |
|
|
Welcome to the { mindfrost82.com } forums. You are currently viewing our boards as a guest which gives you limited access to view most discussions and access our other features. By joining our free community you will have access to post topics, communicate privately with other members (PM), respond to polls, upload content and access many other special features. Registration is fast, simple and absolutely free so please, join our community today! If you have any problems with the registration process or your account login, please contact contact us. |
|
|||||||
![]() |
|
|
LinkBack | Thread Tools | Search this Thread | Display Modes |
|
|||
|
opening from 1 access form 2 another at same data info
Help please , im still learning 2007 access , i have created two forms
relating back to one table and i want to switch between them but when i do they go back to the first record . How can i switch between keeping the same data record . many thanks Trev |
|
|||
|
Re: opening from 1 access form 2 another at same data info
Use some code in an event, probably the click event of a command button:
Sub MyButton Click() DoCmd.OpenForm "frmNumberTwoName", , , "IDkey =" & Me.txtIDcontrol End Sub where frmNumberTwoName is the name of your second form, IDkey is the name of the Primary Key field, and txtIDcontrol is the name of the textbox holding the IDkey value, in the first form. -- Arvin Meyer, MCP, MVP http://www.datastrat.com http://www.mvps.org/access http://www.accessmvp.com "Trev" <Trev@discussions.microsoft.com> wrote in message news:9E50C09D-9792-4C5A-B566-88DA124671D5@microsoft.com... > Help please , im still learning 2007 access , i have created two forms > relating back to one table and i want to switch between them but when i do > they go back to the first record . How can i switch between keeping the > same > data record . many thanks > Trev > |
![]() |
|
| Thread Tools | Search this Thread |
| Display Modes | |
|
|