A Microsoft Office (Excel, Word) forum. OfficeFrustration

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » OfficeFrustration forum » Microsoft Access » General Discussion
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

code to run on form



 
 
Thread Tools Display Modes
  #1  
Old July 11th, 2009, 07:34 PM posted to microsoft.public.access
Simon
external usenet poster
 
Posts: 335
Default code to run on form

I have a form that loads, if txtSrearch has some text in in when the
form loads i want it to run some code

I have tested the code on a Click button but sure how to get the code
to work once teh form loads

What command do i use to the code runs. as i have tried a few things
but done work, i think the code runs before txtSearch text is loaded

  #2  
Old July 11th, 2009, 07:46 PM posted to microsoft.public.access
tina
external usenet poster
 
Posts: 1,997
Default code to run on form

you haven't told us what the code is, what it's supposed to do, what you
tried that didn't work, and what happened in more detail than "didn't work".
having almost no information, i can only suggest you try using the form's
Load event, and failing that, try the form's Current event.

hth


"Simon" wrote in message
...
I have a form that loads, if txtSrearch has some text in in when the
form loads i want it to run some code

I have tested the code on a Click button but sure how to get the code
to work once teh form loads

What command do i use to the code runs. as i have tried a few things
but done work, i think the code runs before txtSearch text is loaded



 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Forum Jump


All times are GMT +1. The time now is 05:23 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.