473,770 Members | 1,833 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Automating queries by using a reference date.

One question: I created an access database that has been extremely
useful in my work. I dont' even know at what level of knowledge I am
at. I read a lot about how to create a database, created many tables,
connected them and then created different kinds of queries. (One thing
I have never done is reports, because I really don't need them)

I have many queries to track a particular job or aspect of it. i.e. I
sent on a particular item on a certain (SentDate). Now I need a
formula or something to produce a query of jobs that were sent, say 7
business days (mon tue wed thur & Frid only) from the "SentDate"

I should say, I use the DESIGN VIEW to do my queries. And on the
"SendDate" field, I could query for ">12/6/2003" and I will get all
jobs later than this date. But that is as much as I know.

There must be a way to "automate" queries, as I explained in the
aforementioned paragraph. (repeated below).

*** Now I need a formula or something to produce a query of jobs that
were sent, say 7 business days (mon tue wed thur & Frid only) from the
"SentDate" ***

I also would like to learn more on automating quieries in general.

I use Access 2000 (9.0.3821 SR-1)

TIA

Enrique
Nov 12 '05 #1
1 2052
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

It's easier to get the past 7 days than it is to get the past 7
business days (Mon - Fri). E.g.:

In the SentDate criteria put:

Between Date()-7 And Date()

This will get the records that have a SentDate between 7 days ago and
today's date.

HTH,

MGFoster:::mgf0 0 <at> earthlink <decimal-point> net
Oakland, CA (USA)

-----BEGIN PGP SIGNATURE-----
Version: PGP for Personal Privacy 5.0
Charset: noconv

iQA/AwUBP+Jq1IechKq OuFEgEQIX4ACgpc 6zKie9f6As/Kt1yPqZdn4T5ZgA oKqz
RedpkYEylXgJki5 EHgQ6mX+0
=4fxu
-----END PGP SIGNATURE-----

EnriqueM wrote:
One question: I created an access database that has been extremely
useful in my work. I dont' even know at what level of knowledge I am
at. I read a lot about how to create a database, created many tables,
connected them and then created different kinds of queries. (One thing
I have never done is reports, because I really don't need them)

I have many queries to track a particular job or aspect of it. i.e. I
sent on a particular item on a certain (SentDate). Now I need a
formula or something to produce a query of jobs that were sent, say 7
business days (mon tue wed thur & Frid only) from the "SentDate"

I should say, I use the DESIGN VIEW to do my queries. And on the
"SendDate" field, I could query for ">12/6/2003" and I will get all
jobs later than this date. But that is as much as I know.

There must be a way to "automate" queries, as I explained in the
aforementioned paragraph. (repeated below).

*** Now I need a formula or something to produce a query of jobs that
were sent, say 7 business days (mon tue wed thur & Frid only) from the
"SentDate" ***

I also would like to learn more on automating quieries in general.

I use Access 2000 (9.0.3821 SR-1)

TIA

Enrique


Nov 12 '05 #2

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

Similar topics

0
342
by: EnriqueM | last post by:
One question: I created an access database that has been extremely useful in my work. I dont' even know at what level of knowledge I am at. I read a lot about how to create a database, created many tables, connected them and then created different kinds of queries. (One thing I have never done is reports, because I really don't need them) I have many queries to track a particular job or aspect of it. i.e. I sent on a particular item on a...
12
6392
by: Steve Elliott | last post by:
I have a query set up to gather together data between two specified dates. Shown in the query column as: Between #24/09/2004# And #01/10/2004# Is it possible to enter several different date ranges, ie between 24/09/2004 and 01/10/2004 together with 05/10/2004 and 07/10/2004 ? If I enter the "Between" criteria on different lines it returns no data.
4
9845
by: italiak | last post by:
Hello everyone- I have these 500 queries in access. They all do the same thing (append data from big database to a table) and have similar condition. I was wondering if there is a way I can create a macro to modify the content of these queries. If the modify macro is not possible then I can delete the queries and try to create a macro which can create queries from scratch. Any help is appreciated.
2
909
by: Li Pang | last post by:
Hi I can't remember how to block using local date setting, in another word, I want ot force to use a specific date setting Anybody give a hand Thanks
0
1457
by: Axter | last post by:
Other than size, is there any other pro to using reference-counter instead of reference-link logic in a smart pointer. See following link: http://www.open-std.org/jtc1/sc22/wg21/docs/papers/2004/n1681.pdf The above link doesn't give too many details as to which is better in general. In my test of the following smart pointer, I find it to be much faster then the boost::shared_ptr for initialization.
4
1625
by: access-newb | last post by:
Just started working in Access, and while I'm fairly confident in the basics, or so I think, anything advanced doesn't work too well. I've got a task I know should be easy to automate, but I don't know how to. If someone could point me in the right direction it would be wonderful. I've got 35 tables to create by running a query that filters a table based on two criteria, and then names them based on the criteria used. I have a table of...
2
6080
by: The_Monkey | last post by:
I have created a form with a combo box to filter a subform using a date. The filter works great but not with dates starting with a 0 e.g 01/07/2006 I have set the format to short date for the combo box, the table that feeds the combo box and the subform to be filtered. I have also set the format in the code see below. Private Sub Week_Ending_AfterUpdate()
5
2826
by: Manogna | last post by:
hi! i got the following error while using the Date::Calc module in perl. plz help me.. the file is ex.pl contains code like this: use strict; use Date::Calc();
20
3620
by: madhu3437 | last post by:
i am in big problem Under unix C Language i want return date format like MM/DD/YYYY this function should return above format . using system date calculate last 6 days mean clearly i am explain today date is :06/09/2008 the function return 06/03/2008
0
9454
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10099
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 tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
9904
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8931
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7456
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5482
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4007
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3609
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2849
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.