Welcome to SPN

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

Sign Up Now!

Saving Info on Form within Unbound Text Boxes

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

  1. Jennifer Cali

    Jennifer Cali
    Expand Collapse
    Guest

    Hi ~ I have seven different unbound text boxes on a form that the user inputs
    information into. These seven text boxes are then used in calculations, but
    each time the form is closed the info in the unbound boxes isn't saved...and
    it needs to be. Any thoughts?
    --
    Thank you! - Jennifer
     
  2. Loading...

    Similar Threads Forum Date
    World Irish lawmakers back bill on life-saving abortions Breaking News Jul 4, 2013
    Heritage Saving Gurdwaras in Pakistan History of Sikhism Feb 20, 2011
    World Naomi Bronstein Lives On - A Humanitarian Accredited With Saving 140,000 Lives Breaking News Jan 23, 2011
    USA U.S. is Saving War Memorials in Iraq Breaking News Jun 3, 2010
    Saving Punjab History of Sikhism Sep 18, 2009

  3. Rick Brandt

    Rick Brandt
    Expand Collapse
    Guest

    Jennifer Cali wrote:
    > Hi ~ I have seven different unbound text boxes on a form that the
    > user inputs information into. These seven text boxes are then used in
    > calculations, but each time the form is closed the info in the
    > unbound boxes isn't saved...and it needs to be. Any thoughts?


    If they need to be saved then they need to be bound. Otherwise you would
    have to use an update or insert query to save directly to the table in the
    background using code.

    --
    Rick Brandt, Microsoft Access MVP
    Email (as appropriate) to...
    RBrandt at Hunter dot com
     
  4. Jennifer Cali

    Jennifer Cali
    Expand Collapse
    Guest

    Thanks. As followup, what would I bind them to? The values are used in part
    of a subtraction (system displays number of stores open this week, user
    inputs anticipated number of stores for next week into unbound field,
    calculation occurs showing difference). Where do I go from here? It's not
    part of a query b/c the number of stores can't be tied to the anticipated
    number due to setup. I really just (ideally) need this to be something users
    input directly on the screen. Sorry if I'm missing something here...
    --
    Thank you! - Jennifer


    "Rick Brandt" wrote:

    > Jennifer Cali wrote:
    > > Hi ~ I have seven different unbound text boxes on a form that the
    > > user inputs information into. These seven text boxes are then used in
    > > calculations, but each time the form is closed the info in the
    > > unbound boxes isn't saved...and it needs to be. Any thoughts?

    >
    > If they need to be saved then they need to be bound. Otherwise you would
    > have to use an update or insert query to save directly to the table in the
    > background using code.
    >
    > --
    > Rick Brandt, Microsoft Access MVP
    > Email (as appropriate) to...
    > RBrandt at Hunter dot com
    >
    >
    >
     
  5. Rick Brandt

    Rick Brandt
    Expand Collapse
    Guest

    Jennifer Cali wrote:
    > Thanks. As followup, what would I bind them to? The values are used
    > in part of a subtraction (system displays number of stores open this
    > week, user inputs anticipated number of stores for next week into
    > unbound field, calculation occurs showing difference). Where do I go
    > from here? It's not part of a query b/c the number of stores can't be
    > tied to the anticipated number due to setup. I really just (ideally)
    > need this to be something users input directly on the screen. Sorry
    > if I'm missing something here...


    You should be storing the number entered by the user in another field of
    your table and then you can use an expression in queries, forms, and reports
    to do the calculation. It would be incorrect to store the result of the
    calculaton itslef.

    --
    Rick Brandt, Microsoft Access MVP
    Email (as appropriate) to...
    RBrandt at Hunter dot com
     

Share This Page