Hi Brad, You could have achieved this using an eventsink or a workflow attached to the list - however, there isn't a hook for when an item is opened, only when it's edited (correct me if i'm wrong there though). Does that suffice? This means a user would actually have to save the list item back into the list - aka, open a document, change it and save it, for instance.
Once you have the entry point, you can write some code against the API which simply grabs the edited list item, takes the current value out of the custom field (column) and increments it, and shoves it back in. Matthew Cosier Readify | Dev Centre Lead M: +61 401 932 250 | E: [EMAIL PROTECTED]<mailto:[EMAIL PROTECTED]> Blog: http://cosier.wordpress.com<http://cosier.wordpress.com/> From: Hinson, Brad [mailto:[EMAIL PROTECTED] Sent: Friday, 8 August 2008 3:29 AM To: [EMAIL PROTECTED] Subject: Hit count for list items... Does anyone have a strategy for recording hits for individual items on a list? Ideally, I'd like a custom column that automatically increments (+1) each time someone opens the list item. That's it. Sounds simple, but I can't figure this one out. Any help would be appreciated. </brad> -------------------------------------------------------------------- Brad Hinson Open Learning Coordinator MiraCosta College 760-795-6745 ------------------------------------------------------------------- OzMOSS.com - to unsubscribe from this list, send a message back to the list with 'unsubscribe' as the subject. Powered by mailenable.com
