code to run on form

S

Simon

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
 
T

tina

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
 

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