473,396 Members | 1,917 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,396 software developers and data experts.

how automatically reset record in database?

My project has connected to the access.
There is Reseration date and Beginning date in the table of the database.
If the Reservation date is filled,and the Beginning date is not filled(still
null) in 3 days,
the Reservation date of the record must be automatially set null.How?
How to write the code to know the Reservation date is more 3 days before?
And how to reset the record?
Jul 21 '05 #1
2 1320
What database are you using? If you're using Oracle or SQL Server,I'd do
this server side with a Trigger so that you don't have to depend on the
client app to enforce this rule.
"eherage" <eh*****@discussions.microsoft.com> wrote in message
news:EF**********************************@microsof t.com...
My project has connected to the access.
There is Reseration date and Beginning date in the table of the database. If the Reservation date is filled,and the Beginning date is not filled(still null) in 3 days,
the Reservation date of the record must be automatially set null.How?
How to write the code to know the Reservation date is more 3 days before?
And how to reset the record?

Jul 21 '05 #2
I am student.It is our homework.As we haven't Oracle or SQL Server,I use
Access,because it is simple.

"W.G. Ryan eMVP" wrote:
What database are you using? If you're using Oracle or SQL Server,I'd do
this server side with a Trigger so that you don't have to depend on the
client app to enforce this rule.
"eherage" <eh*****@discussions.microsoft.com> wrote in message
news:EF**********************************@microsof t.com...
My project has connected to the access.
There is Reseration date and Beginning date in the table of the

database.
If the Reservation date is filled,and the Beginning date is not

filled(still
null) in 3 days,
the Reservation date of the record must be automatially set null.How?
How to write the code to know the Reservation date is more 3 days before?
And how to reset the record?


Jul 21 '05 #3

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

Similar topics

3
by: vishal | last post by:
i have created one database in mysql. first i have created all tables are of innodb type then i converted all tables to myisam type. i know that for each myisam type table three files are created...
1
by: Uli | last post by:
Dear group, I have to replicate remote data to a SQL Server in the headquarter. The data are on a site which does not have permanent online-connection to the headquarter. I have written a...
1
by: Larry | last post by:
Hi, my friends, As I know, service and start automatically even before user login. So If it's possible to create a service, make it running when system start , and record windows login password...
2
by: eherage | last post by:
My project has connected to the access. There is Reseration date and Beginning date in the table of the database. If the Reservation date is filled,and the Beginning date is not filled(still...
7
by: Tony A. | last post by:
I'm working on an application using VB .Net 2005 and MS Access 2003 for the database. The table I'm trying to update has a key field. When I click the Save Button the update seems to work in the...
2
by: Gerhard | last post by:
I created a database in Access 2000 on my PC. I copied it to a laptop which runs Access 2003 and XP. I opened the database on the laptop and printed some reports, but the borders of all text boxes...
8
by: eneyardi | last post by:
How to transfer automatically the record to other table? i have table name tblDTS and tblARC my form name is List the default view is Split Form and another form name is Entry the default view is...
2
by: simon penny | last post by:
I have a table in which I record referral records. I have a second table in which I record service records. One referral can have many service records attached. The tables are linked by referral ID -...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
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
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
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.