Setting form in Startup?

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?
 
S

SusanV

Instead of using an autoexec macro, set your form as the default via Tools
menu>>Startup>>Display Form/Page.
 
G

Guest

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.
 
S

SusanV

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.
 
G

Guest

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.
 
S

SusanV

Perhaps I'm wrong but it sounds to me as though the form may be slightly
corrupt. Have you tried recreating it?
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top