Button Script

  • Thread starter Thread starter Bob
  • Start date Start date
B

Bob

--
I want the Button when clicked to put the word "Cash" into text box
[Text60]...thanks for any help.............Bob
 
Sorry found it
Private Sub Command63_Click()
Text60.value = "Cheque"
End Sub

Thanks Bob
 
Private Sub YourButtonName_Click()
[Text60] = "Cash"
End Sub

Suggestion: Name your objects something more meaningful than [Text60]. Say... Cash or
IsCash for example. When you go to write, read, or bug-shoot your code, you'll know what
those objects refer to.
--
hth
Al Campagna . Candia Computer Consulting . Candia, NH USA
Microsoft Access MVP
http://home.comcast.net/~cccsolutions

"Find a job that you love, and you'll never work a day in your life."
 
Ok thanks ,had a series of buttons cash and cheque where just some....Bob
Al Campagna said:
Private Sub YourButtonName_Click()
[Text60] = "Cash"
End Sub

Suggestion: Name your objects something more meaningful than [Text60].
Say... Cash or IsCash for example. When you go to write, read, or
bug-shoot your code, you'll know what those objects refer to.
--
hth
Al Campagna . Candia Computer Consulting . Candia, NH USA
Microsoft Access MVP
http://home.comcast.net/~cccsolutions

"Find a job that you love, and you'll never work a day in your life."
 

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