Setting form in Startup?

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

I have my form "frmlicense" starting up when I open the database. I have
used the AutoExec macro and the startup way. When the db opens, frmlicense
opens up fine. From there I scan a barcode and the info gets seperated and
put onto another form, "frmentry". But I noticed that if frmlicense isn't
selected in the database window under forms when the db is opened, everything
gets screwed up. Whatever is highlighted/selected in the db window, is what
opens up and where the barcode info goes into. Whether it be another form,
macro, and even designing a form. How can I make sure that frmlicese is
always selected when the db opens up? Or is there another way to do this?
 
Instead of using an autoexec macro, set your form as the default via Tools
menu>>Startup>>Display Form/Page.
 
Well, I tried it before but nothing. I mean, frmlicense still comes up, but
it doesn't give it focus/highlighted/selected in the database window. That
is what I am trying to do. There's go to be a way to make sure frmlicense is
always selected in the database window.
 
Why do you need it highlighted in the db window? Why even show the db
window?



escudolm said:
Well, I tried it before but nothing. I mean, frmlicense still comes up,
but
it doesn't give it focus/highlighted/selected in the database window.
That
is what I am trying to do. There's go to be a way to make sure frmlicense
is
always selected in the database window.
 
Because for some weird reason, the program won't run properly if it isn't
highlighted in the window. It wont go the way it is supposed to go. It gets
all messed up.
 
Perhaps I'm wrong but it sounds to me as though the form may be slightly
corrupt. Have you tried recreating it?
 
Back
Top