modify a line code

  • Thread starter Thread starter TUNGANA KURMA RAJU
  • Start date Start date
T

TUNGANA KURMA RAJU

how to modify this line of code
If.Me.TextBox2.value <> VbNullString
modify this line to
If.me.TextBox2.value <> 'textstring'
(if Textbox2 value not equal to text value)
I am unable to codify that 'textstring'
 
Try
If.me.TextBox2.value <> "textstring"
Regards,
Stefi


„TUNGANA KURMA RAJU†ezt írta:
 
If.Me.TextBox2.Text <> "textstring" Then


--
---
HTH

Bob


(there's no email, no snail mail, but somewhere should be gmail in my addy)
 
Thank you Bob,
after a long time i met u today.
thank you
 
Sorry Bob,
Its not working,i have entered text in textbox2 ,the validation logic is not
working.Why?

where I am wrong
 
My question is wrong,i want code for
If textbox2 does not contain any text,then...
 
If.Me.TextBox2.Text <> "" Then

Met me? How?


--
HTH

Bob

(there's no email, no snail mail, but somewhere should be gmail in my addy)
 

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

Back
Top