Results 1 to 2 of 2
  1. #1
    McArthurGDM is offline Competent Performer
    Windows 7 64bit Access 2010 64bit
    Join Date
    Jul 2014
    Posts
    215

    Setting a Tables field value equal to the value generated from a text box

    What I would like - is the ability to update a particular field value in a table based on an expression generated within a control source text box on a form.



    I can't calculate the expression directly in the table since I am establishing relationships for it.

    Can I do this?

  2. #2
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,929
    Why do you need to save this calculated data? Can you just calculate when needed?

    Saving calculated data should be avoided. The calculated value can get 'out of sync' with the raw data.

    Saving will require code - macro or VBA - in some event.
    How to attach file: http://www.accessforums.net/showthread.php?t=70301 To provide db: copy, remove confidential data, run compact & repair, zip w/Windows Compression.

Please reply to this thread with any new information or opinions.

Similar Threads

  1. Replies: 1
    Last Post: 09-19-2014, 11:45 AM
  2. Body Text in Access-generated emails.
    By Mattbro in forum Programming
    Replies: 5
    Last Post: 04-15-2014, 07:25 AM
  3. Replies: 1
    Last Post: 03-27-2014, 06:42 AM
  4. Setting a field to only accept text characters, not numbers
    By USAFA2012 in forum Database Design
    Replies: 2
    Last Post: 03-09-2010, 12:37 PM
  5. How to validate dynamically generated text box
    By TheFuzzball in forum Forms
    Replies: 1
    Last Post: 10-24-2009, 10:49 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Other Forums: Microsoft Office Forums