Help On Startup Please

puredarkness

New member
Local time
Today, 02:29
Joined
Oct 5, 2007
Messages
5
Please can someone help I have been making a database which as taken me over 12mths to do as I am not very bright I have made a startup page of the programe I need a code so when the startup page starts you can press the enter key to take you to the main menu.

Thank You
 
I'm not quite sure what you're trying to do... Why can't you have the start-up options open the main form?

:)
ken
 
I'm not quite sure what you're trying to do... Why can't you have the start-up options open the main form?

:)
ken

Thanks for the reply

I have a form named startup then I want clients to press enter key to take them to the form named main menu.
 
And you don't want to put a button on it to do this?
 
I suppose you could use the use the keyup event for the form and check it to see if the keycode = 13


???
ken
 
Are you using the first form as sort of a splashscreen?

If so, what I would do is create the label,

set the keypress event on the form to open your main menu form.

hope this helps :)
 
Are you using the first form as sort of a splashscreen?

If so, what I would do is create the label,

set the keypress event on the form to open your main menu form.

hope this helps :)


I think he wants to open the second form if the user presses the 'Enter' key - :confused:
 
ok, can we get a little more background on what is on the startup form if anything else?

if it's used as a spashscreen without any other controls you could always even just set the click event of the label, or change it to a hyperlink label, make sure it has focus when your form runs, and whenever the user hits the enter key as long as you have a click event coded to open the form it should work.

I tried this at work earlier with the alternative method of taking a button and making it the size of a form window, and then making it transparent. I know you said you didn't want a button, but it works pretty well, and as long as it continues to have the focus anytime the user hits the enter key it will do whatever you put into the code.

Hope this helped a little?
 
I would like to say Thanks to everyone who replied but I just cant right code Im thinking of paying someone to do it for me is there anybody in the forum to finish the data base for me if so please contact me.

I have made all forms and tables and reports its just the codes I cant get my head around.
 
You can also copy the code from the button the VBA editor and put code the into an event triggered by pressing the enter button?
 

Users who are viewing this thread

Back
Top Bottom