Hi,
Thanks in advance for the help.
I'am a newby and I'm using access 2000. Here what I'm trying to do.
The users will start with a form with 5 cmdbuttons options, which open the same form. I'm trying to write a code which allow me to autofill un textbox depending on the cmdbuttom chosen. Here is the (faulty) code I'm trying.
DoCmd.OpenForm "form"
DoCmd.GoToRecord , "form", acNewRec
Me![textboxname] = BLA
Hope this is clear enough,
Thanks,
Phane
Thanks in advance for the help.
I'am a newby and I'm using access 2000. Here what I'm trying to do.
The users will start with a form with 5 cmdbuttons options, which open the same form. I'm trying to write a code which allow me to autofill un textbox depending on the cmdbuttom chosen. Here is the (faulty) code I'm trying.
DoCmd.OpenForm "form"
DoCmd.GoToRecord , "form", acNewRec
Me![textboxname] = BLA
Hope this is clear enough,
Thanks,
Phane