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

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 2018
-----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:::mgf00 <at> earthlink <decimal-point> net
Oakland, CA (USA)

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

iQA/AwUBP+Jq1IechKqOuFEgEQIX4ACgpc6zKie9f6As/Kt1yPqZdn4T5ZgAoKqz
RedpkYEylXgJki5EHgQ6mX+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
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...
12
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...
4
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...
2
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
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:...
4
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...
2
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...
5
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
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...
0
by: DolphinDB | last post by:
Tired of spending countless mintues downsampling your data? Look no further! In this article, you’ll learn how to efficiently downsample 6.48 billion high-frequency records to 61 million...
0
by: ryjfgjl | last post by:
ExcelToDatabase: batch import excel into database automatically...
1
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...
0
by: Vimpel783 | last post by:
Hello! Guys, I found this code on the Internet, but I need to modify it a little. It works well, the problem is this: Data is sent from only one cell, in this case B5, but it is necessary that data...
0
by: ArrayDB | last post by:
The error message I've encountered is; ERROR:root:Error generating model response: exception: access violation writing 0x0000000000005140, which seems to be indicative of an access violation...
1
by: PapaRatzi | last post by:
Hello, I am teaching myself MS Access forms design and Visual Basic. I've created a table to capture a list of Top 30 singles and forms to capture new entries. The final step is a form (unbound)...
1
by: CloudSolutions | last post by:
Introduction: For many beginners and individual users, requiring a credit card and email registration may pose a barrier when starting to use cloud servers. However, some cloud server providers now...
1
by: Defcon1945 | last post by:
I'm trying to learn Python using Pycharm but import shutil doesn't work
0
by: af34tf | last post by:
Hi Guys, I have a domain whose name is BytesLimited.com, and I want to sell it. Does anyone know about platforms that allow me to list my domain in auction for free. Thank you

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.