473,396 Members | 1,997 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,396 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 1640
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
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...

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.