Results 1 to 6 of 6
  1. #1
    JMac is offline Novice
    Windows XP Access 2003
    Join Date
    Feb 2012
    Posts
    21

    Calculated Field in a table 2010

    All
    The 'add calculated field to a table' function in 2010 seems fairly simple and easy... add the column and insert your needs.
    Can I assume this is not available in earlier versions of access, my cheapo company only has 2003!!

  2. #2
    pbaldy's Avatar
    pbaldy is offline Who is John Galt?
    Windows XP Access 2007
    Join Date
    Feb 2010
    Location
    Nevada, USA
    Posts
    22,521
    Your assumption is correct. It's a new "feature" of 2010.
    Paul (wino moderator)
    MS Access MVP 2007-2019
    www.BaldyWeb.com

  3. #3
    TheShabz is offline Court Jester
    Windows 7 64bit Access 2010 64bit
    Join Date
    Feb 2010
    Posts
    1,368
    Most here will likely advise you against storing calculated fields to begin with (except for special circumstances), but rather do it on the fly in a query. Also, it's not just your "cheapo" company. My Fortune 500 is just now getting us Office 2007.

  4. #4
    JMac is offline Novice
    Windows XP Access 2003
    Join Date
    Feb 2012
    Posts
    21
    thanks...
    Im trying to get a field to update the table field to a compilation of 2 (a&b) other fields when entered in a form, whats the recommended best way? I was using a query, but it appeared to not work on the current/active record...

  5. #5
    JMac is offline Novice
    Windows XP Access 2003
    Join Date
    Feb 2012
    Posts
    21
    can you do a query on just the last record... so as not to alter any previously compiled fields?

  6. #6
    ssanfu is offline Master of Nothing
    Windows 2K Access 2000
    Join Date
    Sep 2010
    Location
    Anchorage, Alaska, USA
    Posts
    9,664
    It probably won't update the current/active record while the record is dirty.

    You could write a UDF and have the after update event of each of the two controls call the function to update the control. This also allows you to do some data validation...

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

Similar Threads

  1. Replies: 9
    Last Post: 05-07-2013, 08:37 PM
  2. Calculated Count Field in Access 2010 Table
    By johnsmith1 in forum Access
    Replies: 12
    Last Post: 03-28-2012, 05:00 AM
  3. Calculated field for table not form
    By cheyanne in forum Access
    Replies: 1
    Last Post: 01-27-2012, 07:29 AM
  4. Replies: 1
    Last Post: 02-05-2009, 04:53 PM
  5. Update table from calculated field in a form
    By BernardKane in forum Forms
    Replies: 3
    Last Post: 11-28-2006, 09:48 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