What Is The Difference

  • Thread starter Thread starter DS
  • Start date Start date
D

DS

What is the difference?
The .Text , does it do or mean something
Thanks
DS

Me.txtLogOn.Text = "123"
Me.txtLogOn = "123"
 
In this example, there is no difference. When you do not supply a property
with a control, then the default is assumed. The default property of a text
box is .Text
 
So if I took code from VB6 and it says
Me.TxtOne.GetFocus
Me.TxtTwo = Me.TxtOne.Text

What would this be in VBA
just
Me.TxtTwo=Me.TxtOne

Would the value be the same?

Thanks
DS
 

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

Similar Threads

Alt codes 4
crosstab query question 1
crosstab query? 12
applying payment to the earliest delinquency 13
Combine Fields ( Need to Adjust Code ) 3
Sorting 0
Missing literal characters in Input Mask 2
Newbee 12

Back
Top