How can I include hits or number of times a record has been viewed? I can create a "hits" text field but am not sure how to save it. I use a form for display which only contains a DBRead action. I can put in code to increment the hits field, but how do I save it? Do I just include a DBSave to resave the entire record?
JMahun
Hi JMahun,
I can think of several ways to do this.
a. You can add an extra column to the table and increment that when you do a DB Read on that item, the increment requires an extra DB Save or Custom Code action); or
b. You can create a separate table and record each view as a new record there. That lets you record more information - date, previous URL, etc.
c. You can add Google tracking to the site and use that.
Bob
Thanks. Will give those a try.
JMahun