vbnetman
Dec 19 2006, 09:25 AM
Good morning,
In the db window I'm opening a form but I need to open it to a new rocord. Is there a line of code I can place in the OnLoad event that accomplishes this?
Thank you
fkegley
Dec 19 2006, 09:26 AM
The simplest way to do this is to set the Data Entry property of the form to Yes in Design View.
Alan_G
Dec 19 2006, 09:27 AM
If you're opening the form directly from the db window, just set the Data Entry property of the form to Yes.....
freakazeud
Dec 19 2006, 09:28 AM
Hi,
if you want to be able to browse through old records then use this on the on load event:
DoCmd.GoToRecord , , acNewRec
HTH
Good luck
vbnetman
Dec 19 2006, 09:53 AM
Frank and Alan, thank you. Yes I'm opening directly form the db window.
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please
click here.