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

show records 1 day in advance

66
Hi,

I am about to create a system which will alert the user of any orders which need to be processed a day in advance:

is there a simple query to show all records in a table 1 day befor the actual date?

Regards

Jason
Oct 8 '07 #1
4 1339
Umoja
24
Hi Jason,

I don't understand completely the system your are trying to build but try the following. In the query under the date field, in the criteria enter

=Date() + 1

Hope this helps.
Oct 8 '07 #2
missinglinq
3,532 Expert 2GB
Umoja has the right idea, but people far wiser than myself warn against using the Date() +1 syntax, as they feel it will be phased out in future versions of Access! In Query Design View, make a query from your table, including the appropriate fields, and in the Criteria for the order date field, enter this:

DateAdd("d",1,Date())


You can then use the query as the Record Source for a form, or run the query thru code, and it will return only records whose Order Date is the next day.

Linq ;0)>
Oct 8 '07 #3
jasone
66
Many thanks to both of you!

such a simple query.... but i just couldnt work this one out :-)

Thanks !
Oct 11 '07 #4
missinglinq
3,532 Expert 2GB
Glad we could help!

Linq ;0)>
Oct 11 '07 #5

Sign in to post your reply or Sign up for a free account.

Similar topics

5
by: crispy | last post by:
On this page, you'll see that some PubID's are repeated several times: http://www.ihea.info/pages/website/test1.asp That's because some records have more than one attribute. For example, Title...
1
by: snOOp | last post by:
I am trying to combine the data from two similar tables into one query, but I need for all of the records from both tables to show up and I want the ones that have matching 'emplid' to be combined...
15
by: Paul T. Rong | last post by:
Hi everybody, This time a very very difficult case: I have a table "tblStudent", there are 50 students, I also made a form "frmStudent" based on "tblStudent", now if I don't want to show all...
15
by: Joachim | last post by:
Hi, Als a beginner, I am looking for a way to show records My code is Private sub Connection( Dim odbconn_Pro As OleDbConnectio Dim odbcomm_Pro As OleDbComman Dim odbdare_Pro As...
10
by: RobK | last post by:
Hello all, I'm on work experience for my education, and I need to make a database in Access 2003. This database has to include all the information about the computers: How many, the software,...
3
by: chrisse_2 | last post by:
Hey, In my database i have images, linked to the database, corresponding to different records. I am having trouble making them show in the report. At the moment i can only get the one picture to...
1
by: peirob2006 | last post by:
Hello, I am somewhat familliar with the VB6 way of doing things (AKA haven't the foggiest clue) I know how to create the DataReport in VB6 and How to Connect the Database....but...how do I make...
2
by: Sanjaylml | last post by:
I have made a form in Access 2000. In addition to just simply enter the data through form, I have appended sub-form in main form to show the all the entered records as Sub-Form (DataSheet), which is...
2
by: banderson | last post by:
Hello, I have a data entry form for a table with information about buildings and am having a problem making a combo box do what I want. I would like to make the combo box show a list of unique bldg...
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: 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
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...

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.