Results 1 to 3 of 3
  1. #1
    krjoshi is offline Novice
    Windows 8 Access 2010 64bit
    Join Date
    Nov 2014
    Posts
    13

    Question Help needed to fill values in a field based on another field

    Folks,



    I have a field called "TotalPerc" and second field called "CompStatus", now I want fill the "CompStatus" based on "TotalPerc".

    Conditions : if the "TotalPerc" value is 100 then "CompStatus" value should be "Completed" else "TotalPerc" current value.

    Thanks in advance,
    joshi

  2. #2
    June7's Avatar
    June7 is offline VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,815
    Expression in textbox:

    =IIf([TotalPerc]=100,"Completed",[TotalPerc])

    There is no reason to save this calculated value into table. Calculate when needed.
    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.

  3. #3
    krjoshi is offline Novice
    Windows 8 Access 2010 64bit
    Join Date
    Nov 2014
    Posts
    13
    June7,

    Thank you so much. The thread is solved now.

    Joshi

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

Similar Threads

  1. Replies: 1
    Last Post: 02-19-2014, 11:07 AM
  2. Replies: 5
    Last Post: 06-14-2012, 08:30 AM
  3. Replies: 10
    Last Post: 11-21-2011, 02:56 AM
  4. Replies: 5
    Last Post: 01-20-2011, 11:36 PM
  5. Replies: 2
    Last Post: 09-20-2010, 09:02 PM

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