Results 1 to 2 of 2
  1. #1
    sk88 is offline Competent Performer
    Windows XP Access 2007
    Join Date
    Aug 2011
    Posts
    183

    Update column in table/forms

    So I performed a update query for one of the new column that I added to the table. In my forms the rule was if A is updated, then B will be updated. This B is a calculation based on the rates of the given time period. Therefore, the rates could be different from month to month.



    How do I perform a quick update to B? or a code to perform After Update event for A?

    Now my B is not updated and stays blank.

    Thanks

  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
    Personally, I would save the rate or rateID and do the calc when needed.

    Regardless, code in field A AfterUpdate event to set value of field B.

    Me!B = something

    Exactly what is A?
    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. Choosing what table to update base on column value
    By guillermoftw in forum Access
    Replies: 4
    Last Post: 01-15-2015, 05:59 PM
  2. Replies: 8
    Last Post: 10-03-2013, 08:11 AM
  3. Replies: 4
    Last Post: 09-04-2013, 06:40 AM
  4. Replies: 11
    Last Post: 08-10-2012, 10:25 PM
  5. Replies: 1
    Last Post: 12-16-2011, 08:16 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