J jaanisf Registered User. Local time Today, 03:39 Joined Apr 29, 2003 Messages 32 May 15, 2003 #1 How can I get a current record showed in a textbox? I know, it's kinda simple: txtbox1 = Me.CurrentRecord But, where should I put the code, so that it would update on every buttons press, on every TAB press etc?
How can I get a current record showed in a textbox? I know, it's kinda simple: txtbox1 = Me.CurrentRecord But, where should I put the code, so that it would update on every buttons press, on every TAB press etc?
dcx693 Registered User. Local time Yesterday, 20:39 Joined Apr 30, 2003 Messages 3,265 May 15, 2003 #2 Put it into the On Current event of the form.
J jaanisf Registered User. Local time Today, 03:39 Joined Apr 29, 2003 Messages 32 May 15, 2003 #3 Tnx, it works Can you tell me another one: DoCmd.GoToRecord , , acNewRec DoCmd.GoToControl Me.txtcontrol1 Here, I want that on button btnNewRec click the control txtcontrol1 to be active, but this code gives me an error. What is wrong here?
Tnx, it works Can you tell me another one: DoCmd.GoToRecord , , acNewRec DoCmd.GoToControl Me.txtcontrol1 Here, I want that on button btnNewRec click the control txtcontrol1 to be active, but this code gives me an error. What is wrong here?
J jaanisf Registered User. Local time Today, 03:39 Joined Apr 29, 2003 Messages 32 May 15, 2003 #4 Never mind, I managed it )