Results 1 to 5 of 5
  1. #1
    Nadine67 is offline Advanced Beginner
    Windows XP Access 2010 32bit
    Join Date
    Jul 2015
    Posts
    55

    ColumnHistory with multiple columnnames

    Hello and thank you in advance for any attention this post may recieve.

    So I have a text box where 'columnHistory' is working. I would like to append the comments of more than one text box (columnname) in onw timestamp.

    currently my control source is

    =ColumnHistory("tblImprovementIdeas","Comments","[ImprovementID]=" & Nz([ImprovementID],0))



    I would like to add "Status" and "Review Date" to the coulumn name so that the appended timestamped history recorded is comments, status, and review date data

    Is this possible?

    thank you

  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,930
    Not really understanding question.

    ColumnHistory is a property setting for a Memo type field. The expression you show is just to display the history. If you want to maintain history of other types of fields, that would probably require audit log. Review: http://allenbrowne.com/AppAudit.html
    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
    CJ_London is online now VIP
    Windows 8 Access 2010 32bit
    Join Date
    Mar 2015
    Posts
    11,430
    Is this possible?
    Simply, No. The commenthistory property is intended to display the history of changes to the comment and when those changes were made. It is not intended as a record of comments (e.g. logging calls with a client) or a basis for further actions or who entered the comment. I would follow June7's lead

  4. #4
    June7's Avatar
    June7 is online now VIP
    Windows 7 64bit Access 2010 32bit
    Join Date
    May 2011
    Location
    The Great Land
    Posts
    52,930
    Or maybe instead of continually adding text to the memo field, each should be a new record in a related table.
    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.

  5. #5
    Nadine67 is offline Advanced Beginner
    Windows XP Access 2010 32bit
    Join Date
    Jul 2015
    Posts
    55
    Thank you June and Ajax

    An audit log is what I am after, so the link to Allen Browne's tutorial is a great help.

    Thank you and have a great day!

    Nadine

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

Similar Threads

  1. ColumnHistory
    By kdf in forum Programming
    Replies: 1
    Last Post: 03-27-2014, 01:34 PM
  2. Replies: 2
    Last Post: 04-16-2012, 12:56 PM
  3. ColumnHistory Code
    By huv123 in forum Programming
    Replies: 2
    Last Post: 02-18-2011, 03:41 AM
  4. Replies: 0
    Last Post: 01-19-2011, 04:20 PM
  5. =columnhistory
    By botts121 in forum Programming
    Replies: 1
    Last Post: 07-06-2009, 07:26 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