473,386 Members | 1,823 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,386 software developers and data experts.

Number Buttons

DS
How do you set-up number buttons, much like a calculator to be enteed
into a text field. Right now I have macros attached to each button 1 to
0 but I can't get the numbers to append to each each other, they just
write over one another.
DS
Nov 13 '05 #1
2 1639
Create an option group with 10 buttons from 1 to 0. Be sure you create the
options in sequential order from 1 to 0. Put the following code in the
AfterUpdate event of the option group:
Me!NameOfTextBox = NZ(Me!NameOfTextBox,"") & Me!NameOfOptionGroup

--
PC Datasheet
Your Resource For Help With Access, Excel And Word Applications
re******@pcdatasheet.com
www.pcdatasheet.com


"DS" <bo******@optonline.net> wrote in message
news:JE******************@news4.srv.hcvlny.cv.net. ..
How do you set-up number buttons, much like a calculator to be enteed
into a text field. Right now I have macros attached to each button 1 to
0 but I can't get the numbers to append to each each other, they just
write over one another.
DS

Nov 13 '05 #2
DS <bo******@optonline.net> wrote in message news:<JE******************@news4.srv.hcvlny.cv.net >...
How do you set-up number buttons, much like a calculator to be enteed
into a text field. Right now I have macros attached to each button 1 to
0 but I can't get the numbers to append to each each other, they just
write over one another.
DS


Private Sub cmd0_Click()
Me.txtShow = Me.txtShow & Me.ActiveControl.Caption
End Sub
Nov 13 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

0
by: Carl | last post by:
I have a main form with navigation buttons on it and a label showing for example Record 1 of 15 using recordsetclone on it and eveything works fine. When I move through the records the record...
0
by: DS | last post by:
How do you set-up number buttons, much like a calculator to be enteed into a text field. Right now I have macros attached to each button 1 to 0 but I can't get the numbers to append to each each...
5
by: Lyn | last post by:
Hi, I hope someone can help. I have a main form which mostly fills the Access window. In the bottom half of this form I have a tab control to display various types of data related to the main...
9
by: DS | last post by:
Whenever you use a continous form each row represents a record. Does this record have a number? If so how do you access it. Right now I have a field using auto number. But if access generates...
3
by: Hal Gibson | last post by:
What is maximum number of controls allowed on .Net Windows Form? I know it's 254 in VB6.
3
by: kirke | last post by:
Hi, I have a tricky problem.. I printed out several numbers. For example, for ($i=0:$i<$k;$i++) printf("%s",$number); Then, numbers are printed out. e.g.,
6
by: sgottenyc | last post by:
Hello, If you could assist me with the following situation, I would be very grateful. I have a table of data retrieved from database displayed on screen. To each row of data, I have added...
2
by: dpazza | last post by:
Hi, I'm creating a quiz on using a form in VB 2005 express. I have four sets of questions and answers (labels and radio buttons) and I change between which set of questions is currently shown on...
6
by: fifersheep | last post by:
Hi, there, very new to Java. I'm looking to get a number from a text box, then use the number in a calculation, and then put the answer into another text box. JButton convertButton = new...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.