Results 1 to 3 of 3
  1. #1
    JeRz is offline Advanced Beginner
    Windows 8 Access 2010 32bit
    Join Date
    Jul 2014
    Posts
    33

    ColumnHistory in a form

    Hi everyone,

    I am attempting to have a text box populate with historical changes on one of my forms.



    The field name is IssueDetail and is set as Memo. It is in the tblIssues table. I have set the Append property on the IssueDetail field to True. I also added a History text box to the form with the ControlSource set as:
    Code:
    =ColumnHistory([RecordSource],"IssueDetail","[ID]=" 
    & Nz([ID],0))
    After doing all of this, I am receiving a #Error in the History text box. I have been trying most of the day to get this to work. Can anyone offer any suggestions?

    Thanks!

  2. #2
    aytee111 is offline Competent At Times
    Windows 7 32bit Access 2013 32bit
    Join Date
    Nov 2011
    Location
    Nomad
    Posts
    3,936
    This is not generally the accepted way of doing this. You would rather have a table containing the key to the item and the old value, also date-changed and user-changed if you wish. Then display this as a subform or listbox.

  3. #3
    Missinglinq's Avatar
    Missinglinq is online now VIP
    Windows 7 64bit Access 2007
    Join Date
    May 2012
    Location
    Richmond (Virginia, not North Yorkshire!)
    Posts
    3,018
    First off, I suspect that [RecordSource]

    =ColumnHistory([RecordSource],"IssueDetail","[ID]="
    & Nz([ID],0))


    is not the actual name of your Record Source...isn't it tblIssues?

    Also, per Access Help, a Memo field's AppendOnly property must be set to True in order for Access to store the change history for the field.

    Linq ;0)>
    The problem with making anything foolproof...is that fools are so darn ingenious!

    All posts/responses based on Access 2003/2007

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

Similar Threads

  1. ColumnHistory with multiple columnnames
    By Nadine67 in forum Access
    Replies: 4
    Last Post: 07-20-2015, 03:37 PM
  2. ColumnHistory
    By kdf in forum Programming
    Replies: 1
    Last Post: 03-27-2014, 01:34 PM
  3. Replies: 2
    Last Post: 04-16-2012, 12:56 PM
  4. ColumnHistory Code
    By huv123 in forum Programming
    Replies: 2
    Last Post: 02-18-2011, 03:41 AM
  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