Jump to content

Times view a database?


Anh_Tran

This topic is 7938 days old. Please don't post here. Open a new topic instead.

Recommended Posts

It depends a lot on what you mean by 'view'.

If you want to know how many times a database has been directly opened, then a fairly simple way to do that is with a single field and a script step. If the database is single user, then a global field will do, but otherwise, a number field in the fiest record or in a related global values file will be required.

Then you could include a script step in the start-up script along the lines of:

Set Field ["Constant::YourCounterField", "Constant::YourCounterField + 1"]

However if the file is part of a multi-file solution and may be opened or used indirectly via relationship links or external script calls from other files, then the definition of what 'viewed' means is more blurred and you would need to consider every likely scenario and decide whether to count it as a 'view' and if so, how and when to capture the 'event' and to increment your counter field accordingly.

Link to comment
Share on other sites

This topic is 7938 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.