Re: create another field during running the Form
- From: "wazza w via AccessMonster.com" <forum@xxxxxxxxxxxxxxxxx>
- Date: Fri, 16 Sep 2005 03:27:05 GMT
ok but it's still error when i put this :DoCmd.GoToRecord acForm, Me.Name,
acNewRecord
John Vinson wrote:
>>actually, do you know when you go form and double click on the file? and you
>>see that the form is working and you just have to put the data entry in it?
>[quoted text clipped - 14 lines]
>>address: postcode:
>>telephone
>
>You're making this harder than it is.
>
>No code is needed.
>No button is needed.
>No message is needed.
>
>Access Forms do this automatically; if you tab off the last field in
>the tab order, you will be presented with a new blank record, ready to
>be filled in.
>
>If you WANT a button to do this, you can do so; create the button,
>call it cmdNewRecord, set its Caption property to "insert more
>partner", and view its Properties. On the Events tab find the Click
>property, and click the ... icon by it. Select the Code Builder and
>edit the code to:
>
>Private Sub cmdNewRecord_Click()
>DoCmd.GoToRecord acForm, Me.Name, acNewRecord
>End Sub
>
> John W. Vinson[MVP]
--
Wassim Sawan
Bachelor of Information Technology and major in information systems
Message posted via AccessMonster.com
http://www.accessmonster.com/Uwe/Forums.aspx/access-formscoding/200509/1
.
- Follow-Ups:
- Re: create another field during running the Form
- From: John Vinson
- Re: create another field during running the Form
- References:
- create another field during running the Form
- From: wazza w via AccessMonster.com
- create another field during running the Form
- Prev by Date: Re: Instability in Access Front End
- Next by Date: Re: Issues with the Shell Command - Alternate Solutions?
- Previous by thread: create another field during running the Form
- Next by thread: Re: create another field during running the Form
- Index(es):