To do it. You need to save a date in a table or define it in code. Then it
would be
if enddate>=date$() then docmd.exit. You could do this in your autoexec
macro with runcode if you want or on your start up form in on open. This is
a lousy way of securing your demo. The tables can be imported, exported and
edited if they are in .mdb form. .mde isnt much better in terms of securing
your demo. The best option with date is have your own license text file that
is encrypted. Make sure if the file isn't there your program exits. In terms
of changing system date back if they keep an original copy of your license
file on first use there isn't much you can do. The best way i heard of doing
a demo is limit table size of important tables ie in an accounting software
the customer to 10 or invoices to 100. Then if they get a license file from
you it released the demo.
also look here
http://www.granite.ab.ca/access/demo.htm
HTH
Martin J