Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Limiting number of uses for a mde file

Status
Not open for further replies.

margoo

Programmer
Jan 26, 2004
8
0
0
US
I would like to make a "demo" of a mde for distribution to potential buyers. I have an autoexec macro checking the date, but people can get around it by changing the system date. Would like to count number of times end user opens it, and limit it to , say, 15. Any ideas?
 
Hi

Have a field on the underlying table that manages the users and login protocols that increments each time a user logs in.

Using DLookup you can interrogate the value and when it reached 15 or whatever you choose, a msgbox informs the user that the trial period is over.

Hope that helps

I haven't failed, I have just found 10,000 ways that it won't work!
 
And hide the table so it is not immediately obvious.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top