Welcome to SPN

Register and Join the most happening forum of Sikh community & intellectuals from around the world.

Sign Up Now!
  1. Monthly (Recurring) Target: $300 :: Achieved: $95
      Become a Supporter    ::   Make a Contribution   

How do I display a number in a field when I click on a button.

Discussion in 'Information Technology' started by Jarrod, Jul 28, 2006.

  1. Jarrod

    Jarrod
    Expand Collapse
    Guest

    I am just starting Access and I want to try to make a calculator, just a
    plain and simple one with plus, minus, mulitply, etc. I would like to know
    how to make the number display at the top when I click a number, as in if I
    clicked the '1' button a '1' would be displayed at the top, like a
    traditional calculator. If any help could be given it would be appreciated.
     
  2. Loading...

    Similar Threads Forum Date
    Heritage Sikh Artwork On Display At Texas University History of Sikhism Mar 6, 2015
    UK Sikh Turbans on display at Bradford exhibition Breaking News Mar 1, 2014
    History Rare photographs’ display: Sikh community and culture presented in vibrant colour Punjab, Punjabi, Punjabiyat Dec 8, 2013
    Events Manuscripts on display at National Museum of Pakistan. History of Sikhism Mar 3, 2013
    Turban Display Uncovers Sikh History Sikh Youth Jun 7, 2011

  3. Arvin Meyer [MVP]

    Arvin Meyer [MVP]
    Expand Collapse
    Guest

    Sub cmd1Button_Click()
    txtDisplay = txtDisplay & 1
    End Sub

    Sub cmd2Button_Click()
    txtDisplay = txtDisplay & 2
    End Sub

    Get the idea?
    --
    Arvin Meyer, MCP, MVP
    Microsoft Access
    Free Access downloads
    http://www.datastrat.com
    http://www.mvps.org/access

    "Jarrod" <Jarrod@discussions.microsoft.com> wrote in message
    news:0488E4AC-E07D-49B1-AA8C-C5694AB35ACB@microsoft.com...
    >I am just starting Access and I want to try to make a calculator, just a
    > plain and simple one with plus, minus, mulitply, etc. I would like to know
    > how to make the number display at the top when I click a number, as in if
    > I
    > clicked the '1' button a '1' would be displayed at the top, like a
    > traditional calculator. If any help could be given it would be
    > appreciated.
     
  4. Jerry Whittle

    Jerry Whittle
    Expand Collapse
    Guest

    http://www.mvps.org/access/resources/downloads.htm

    Scroll down to Calculator.
    --
    Jerry Whittle
    Light. Strong. Cheap. Pick two. Keith Bontrager - Bicycle Builder.


    "Jarrod" wrote:

    > I am just starting Access and I want to try to make a calculator, just a
    > plain and simple one with plus, minus, mulitply, etc. I would like to know
    > how to make the number display at the top when I click a number, as in if I
    > clicked the '1' button a '1' would be displayed at the top, like a
    > traditional calculator. If any help could be given it would be appreciated.
     
Since you're here... we have a small favor to ask...

More people are visiting & reading SPN than ever but far fewer are paying to sustain it. Advertising revenues across the online media have fallen fast. So you can see why we need to ask for your help. Donating to SPN's is vote for free speech, for diversity of opinions, for the right of the people to stand up to religious bigotry. Without any affiliation to any organization, this constant struggle takes a lot of hard work to sustain as we entirely depend on the contributions of our esteemed writers/readers. We do it because we believe our perspective matters – because it might well be your perspective, too... Fund our efforts and together we can keep the world informed about the real Sikh Sikhi Sikhism. If everyone who writes or reads our content, who likes it, helps us to pay for it, our future would be much more secure. Every Contribution Matters, Contribute Generously!

    Become a Supporter      ::     Make a Contribution     



Share This Page