473,406 Members | 2,217 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Need code to deactivate database after certain period of time

1
Hi
Is there any code which can deactivate / corrupt (delete main table) whole database after certain period (like after 1 month / or 6 months).

Please advise.
Mar 25 '10 #1
4 2244
missinglinq
3,532 Expert 2GB
Help me out says absolutely nothing about your problem here! I’ve re-titled your thread so that it actually reflects the question at hand. Having a title that does this clearly is important for two reasons.

First, it allows members, at a glance, to understand the nature of the question being asked. Thus, people who have never dealt with this or similar problems are saved the time and trouble of opening your thread. They would have nothing to contribute!

Secondly, and just as important, responsible people with questions first search for threads that address similar issues. Having a clear title facilitates these searches and saves everyone time and trouble.

Welcome to Bytes!

Linq ;0)>

Moderator
Mar 25 '10 #2
Stewart Ross
2,545 Expert Mod 2GB
Hi Unicon. What you ask is not common practice in Access database work. The last thing any of us want to do is to corrupt tables - so you simply will not find this as a 'solution' to what you ask.

It is possible to write a 'start date' entry to, say, the Windows Registry using custom VBA to do so (unlike writing to a table in the application, which the user can easily change). You could then use custom code to compare the start date to the current date to see if the trial period was over, but this would be up to you to research and implement.

A good book which covers manipulating the registry in VBA (amongst many other useful topics) is the VBA Developer's Handbook by Getz and Gilbert.

-Stewart
Mar 25 '10 #3
missinglinq
3,532 Expert 2GB
Also note that while you have the right to prevent possible customers from continuing to use your app unless they pay the appropriate fee, you do not have the right to destroy their data! The app is your intellectual property and the actual data is theirs!

If they've spent many man hours taking your app for a "test drive," and like it, they'll pay the fee. Just make sure to explain clearly the length of the trial period. Getting a signed agreement, stating that they understand the terms, would be a good idea, as well.

Linq ;0)>
Mar 26 '10 #4
NeoPa
32,556 Expert Mod 16PB
Locking this thread to ensure no helpful soul can suggest anything more directly related to the original question.
Mar 26 '10 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Anthony P. | last post by:
Hello Everyone, I've run into a problem that I can't seem to wrap my head around and I need some help. I know this might not be the *exact* right place to ask for help but since my problem *is*...
19
by: James Fortune | last post by:
I have a lot of respect for David Fenton and Allen Browne, but I don't understand why people who know how to write code to completely replace a front end do not write something that will automate...
5
by: Sinan Nalkaya | last post by:
hello, i need a function like that, wait 5 seconds: (during wait) do the function but function waits for keyboard input so if you dont enter any it waits forever. i tried time.sleep() but when...
15
by: Cheryl Langdon | last post by:
Hello everyone, This is my first attempt at getting help in this manner. Please forgive me if this is an inappropriate request. I suddenly find myself in urgent need of instruction on how to...
16
by: gumby | last post by:
I'm having trouble getting HADR to work with the sample databases on two HS20 xSeries blades, Red Hat ES4 up3, DB2 8.2.4, getting the following error. SQL1768N Unable to start HADR. Reason code...
1
by: abhi.10dulkar | last post by:
Hi guys, This might be simplest thing, but I am newbie to databases. I need to find out only rows modified within certain time period from a database. As I undertand a way out could be adding...
4
by: georges the man | last post by:
hey guys, i ve been posting for the last week trying to understand some stuff about c and reading but unfortunaly i couldnt do this. i have to write the following code. this will be the last...
6
by: Twobridge | last post by:
I hope someone can help me out with my problem. I have found a sql statement that basically pulls all bills filed within a certain time period and the payments made on those bills with in the...
7
subashini Thiyagarajan
by: subashini Thiyagarajan | last post by:
Hi , In ASP how to deactivate few fields while inserting a record to the database(access). i want to insert a record.e.g having 5 fields.it is not reqired to fill all the fields in a form as...
6
by: Joe Adams | last post by:
I am attempting to reinstall from a windows gone bad problem. XP had "died" and unable boot into os, so there was no backup or copy database made. Have installed new hdd. copied most all of the...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.