Welcome to SPN

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

Sign Up Now!

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.
     

Share This Page