Hi Oleg<BR>Place your code in a function in a Module. In your Autoexec
macro have an Action of RunCode and then in the Function Name argument you
simply put:<BR><BR>MyFunction()<BR><BR>--<BR>Andy
Lacey<BR>http://www.minstersystems.co.uk<BR><BR><BR><BR>
<BLOCKQUOTE dir=ltr style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px;
MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
<DIV style="FONT: 10pt arial">--------- Original Message --------<BR>From:
"Access Developers discussion and problem solving"
<accessd@databaseadvisors.com><BR>To: "accessd@databaseadvisors.com"
<accessd@databaseadvisors.com><BR>Subject: Re: [AccessD] code on
Database Opening<BR>Date: 10/10/03 12:55<BR><BR><FONT face="Courier New"
size=2><BR>Thanks a lot, I did that<BR>><BR>> You can create a
"Splash" screen and set the db properties to open the<BR>> form when
starting the db. You can look in the "Samples.mdb" db for A97<BR>> or
maybe even the help in A2K and AXP<BR>><BR>><BR>><BR>> <A
class=autolink
href="mailto:Oleg_123@xuppa.com">Oleg_123@xuppa.com</A><BR>><BR>> Sent
by: To:<BR>> <A class=autolink
href="mailto:accessd@databaseadvisors.com">accessd@databaseadvisors.com</A><BR>>
accessd-bounces@databasead cc:<BR>><BR>> visors.com<BR>> Subject:
[AccessD] code on Database Opening<BR>><BR>><BR>><BR>>
10/09/2003 12:27 PM<BR>><BR>> Please respond to
"Access<BR>><BR>> Developers discussion and<BR>><BR>> problem
solving"<BR>><BR>><BR>><BR>><BR>><BR>><BR>><BR>><BR>>
Hey,<BR>><BR>> Can I have code to execute on Database open in Access ?
Or somehow<BR>> insert VBA in autoxec macro
?<BR>><BR>><BR>><BR>><BR>>
-----------------------------------------<BR>> Get Breaking News from
CNN, ABC, NBC, CBS Now.<BR>> <A class=autolink
href="http://www.xuppa.com/news/?link=webmail"
target=_blank>http://www.xuppa.com/news/?link=webmail</A><BR>><BR>><BR>>
_______________________________________________<BR>> AccessD mailing
list<BR>> <A class=autolink
href="mailto:AccessD@databaseadvisors.com">AccessD@databaseadvisors.com</A><BR>>
<A class=autolink
href="http://databaseadvisors.com/mailman/listinfo/accessd"
target=_blank>http://databaseadvisors.com/mailman/listinfo/accessd</A><BR>>
Website: <A class=autolink href="http://www.databaseadvisors.com/"
target=_blank>http://www.databaseadvisors.com</A><BR>><BR>><BR>><BR>><BR>><BR>><BR>>
_______________________________________________<BR>> AccessD mailing
list<BR>> <A class=autolink
href="mailto:AccessD@databaseadvisors.com">AccessD@databaseadvisors.com</A><BR>>
<A class=autolink
href="http://databaseadvisors.com/mailman/listinfo/accessd"
target=_blank>http://databaseadvisors.com/mailman/listinfo/accessd</A><BR>>
Website: <A class=autolink href="http://www.databaseadvisors.com/"
target=_blank>http://www.databaseadvisors.com</A><BR><BR><BR><BR>-----------------------------------------<BR>Get
Breaking News from CNN, ABC, NBC, CBS Now.<BR><A class=autolink
href="http://www.xuppa.com/news/?link=webmail"
target=_blank>http://www.xuppa.com/news/?link=webmail</A><BR><BR><BR>_______________________________________________<BR>AccessD
mailing list<BR><A class=autolink
href="mailto:AccessD@databaseadvisors.com">AccessD@databaseadvisors.com</A><BR><A
class=autolink href="http://databaseadvisors.com/mailman/listinfo/accessd"
target=_blank>http://databaseadvisors.com/mailman/listinfo/accessd</A><BR>Website:
<A class=autolink href="http://www.databaseadvisors.com/"
target=_blank>http://www.databaseadvisors.com</A><BR><BR><BR><BR><BR></FONT></DIV></BLOCKQUOTE><BR
/>
<BR />
________________________________________________<BR />
Message sent using UebiMiau 2.7.2<BR />