Saving Info on Form within Unbound Text Boxes

  • Thread starter Thread starter Guest
  • Start date Start date
G

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?
 
Jennifer said:
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.
 
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...
 
Jennifer said:
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.
 
Back
Top