Hello,
I writing a code that manages the deadlines of the files until now it was pretty simple they have only asked me to display the deadline of (n_file) one time after 10 days ( adddate to (reception_date)) and if = to date() the insertion is automatic in another table that contain ( N_file, deadline).
BUT yesterday I was asked:
while the (final_date) is empty the deadline date should be displayed every 10 days, and on top of that STAYING displayed for 5 days, HOW can i manage that seriously.
6 1089 NeoPa 32,556
Expert Mod 16PB
Without knowing what you mean by a file's deadline date none of this makes any sense to me.
Perhaps you could review the question and write it in such a way as to make sense to those of us that don't already know what you want.
oh sorry i'm bad at explaining, so this my issue:
i have a table that i fill with : ( n_file, and reception date, detail file, and final date ),
the only date that i receive is the (date_reception) and if the (date_final) is not yet received ( because usually they send i paper with the this detail,
(file number, detail file, ..., final date).
if the final date is not received then a recall must be send mentioning (N_file) where the (final date) is messing.
that's why a query should be done to follow the whole recall process.
so the (date_final) is null until the reception of the paper,
the (n_file) should be displayed after each 10 days. to send a recall to send us the information.
i donno what to do?
how to calcul the interval??
there is no date end, because the date end is the day when the (file is received with date_final).???
hope i'm more clear?
NeoPa 32,556
Expert Mod 16PB
It's easy enough to find all records where [Date_Final] is Null and [Date_Reception] is ten or more days old : - SELECT *
-
FROM [YourTable]
-
WHERE ([Date_Final] Is Null)
-
AND ([Date_Reception]<DateAdd('d',-10,Date()))
What makes this difficult is that you want it every ten days from [Date_Reception] until [Date_Final] is set, yet you don't have any way of holding which multiples of ten days have already been shown, so don't need to be shown again. Without that I don't see your requirement as possible.
thx for your reply,
the biggest issue is how can i manage to display the information for 5 days.
have no clue how to do that?
NeoPa 32,556
Expert Mod 16PB
Again, you're not explaining what you want very well. Please specify precisely what you mean when you say for five days. Five days from when?
It's going to be very difficult for you, or anyone else for that matter, to find a solution to a problem when you haven't even worked out what that problem is. Once you've determined exactly what you want then it will be much easier - not only for us but also for yourself - to think about solutions.
zmbd 5,501
Expert Mod 4TB
also, what information do you want displayed for 5 days?
Sign in to post your reply or Sign up for a free account.
Similar topics
by: Guido van Rossum |
last post by:
This is the *last* reminder that the deadline for sending proposals
for presentations at PyCon DC 2004 is January 15, 2004. That's
upcoming Thursday!
I'm also reminding everybody, speakers and...
|
by: Steve Holden |
last post by:
Pythonistas:
If you have been putting off your registration, stop putting it off!
Last year the early bird deadline was extended because we were a little
late getting the program together....
|
by: robinsand |
last post by:
I am a new C++ programmer. I am still having trouble with certain data
types and constructors, among other things. I'm not sure if I've
used "std::string" properly throughout this program. I need...
|
by: mmueller |
last post by:
=== Reminder===
The deadline for submitting abstracts for the the workshop on September
8 in Leipzig is July 15. It is only two days away!!
If you would like to give a presentation, please...
|
by: john |
last post by:
SETP-08 Draft paper submission deadline is just few days from now
The 2008 International Conference on Software Engineering Theory and
Practice (SETP-08) (website: www.PromoteResearch.org ) will...
|
by: john |
last post by:
EISWT-08 Draft paper submission is deadline is just few days from now
The 2008 International Conference on Enterprise Information Systems
and Web Technologies (EISWT-08) (website:...
|
by: vspsdca |
last post by:
Hi,
I'm quite new to the world of VBA so any help you could extend will help me a lot with my project.
I have a database of Change Requests from our users. I have two date boxes, one is Date...
|
by: taylorcarr |
last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: aa123db |
last post by:
Variable and constants
Use var or let for variables and const fror constants.
Var foo ='bar';
Let foo ='bar';const baz ='bar';
Functions
function $name$ ($parameters$) {
}
...
|
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...
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
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...
|
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...
|
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...
| |