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

Creating Reminders

I have two tables which I need a 60 and 30 day reminder before experation. I am not familiar with code or how to write macros. Any help would be appreciated.

God Bless,
Thanks,
Sep 13 '10 #1

✓ answered by liimra

Just create a query with the following filter (create query and in SQL view, paste the following while changing names)

Expand|Select|Wrap|Line Numbers
  1.  SELECT TableName.[ExpirationDateFieldName]
  2. FROM TableName
  3. WHERE ((([ExpirationDateFieldName]-Date())=30));
  4.  
Then you base a form or report (call it reminder) on this query and run it on loading the database.

That was for the 30 days reminder, for the sixty days you use the same except for the number which becomes 60.

Of course, you can choose the user interface you want. For example, you can open the 30-days reminder first, and upon closing you open the 60 and so on.



Regards,
Ali

5 5858
liimra
119 100+
Just create a query with the following filter (create query and in SQL view, paste the following while changing names)

Expand|Select|Wrap|Line Numbers
  1.  SELECT TableName.[ExpirationDateFieldName]
  2. FROM TableName
  3. WHERE ((([ExpirationDateFieldName]-Date())=30));
  4.  
Then you base a form or report (call it reminder) on this query and run it on loading the database.

That was for the 30 days reminder, for the sixty days you use the same except for the number which becomes 60.

Of course, you can choose the user interface you want. For example, you can open the 30-days reminder first, and upon closing you open the 60 and so on.



Regards,
Ali
Sep 13 '10 #2
Thank you for the help. I will plug it in and see how it works. Now that you explain it, it seems that is a simple solution... let's see if my feeble brain and process it right...

Thanks again.

Jason
Sep 13 '10 #3
I have tried inserting the code you gave me. I keep getting errors. Here is what I have in my query.

SELECT [banner sales].[date expires]
FROM [banner sales]
WHERE ([banner sales].[date expired]-Date()=30);

with this code when I run the query I get "Enter Parameter Value" for banner sales.date expired. when I put in a date of 10/01/2010 to test it I get the following error.
"This expression is typed incorrectly, or it is too complex to be evaluated...

Thanks for any help,
Jason
Sep 15 '10 #4
OK, I think I figured out my stupid mistake... thanks for all your help. I am sure to have further questions later.

God Bless,
Jason
Sep 15 '10 #5
liimra
119 100+
:)
Happy it worked. Please mark this post as solved so it becomes more helpful for others. The great contributors and I will be waiting your questions.

Thanks, God(G) Bless you too & Regards,
Ali
Sep 15 '10 #6

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

Similar topics

1
by: Nel | last post by:
Hi PHPers I want to write a system that will create and e-mail invoices to my customers for web services I provide. Everything from hosting, to domain reg and annual maintenance fees. For...
3
by: JP SIngh | last post by:
Is there a way to automatically execute code in ASP? I need to send reminders for one my applications and need some suggestions how I can send reminder emails automatically. Many thanks
3
by: Yair Cohen | last post by:
HI all, any1 know an idea of makeing a good reminder system. i mean, it will store on the DB. and it will jump when it should and u can postphone or decline it. is there any known method to do...
1
by: hecsan07 | last post by:
I want to write an App to schedule tasks. I need some ideas on how to send reminders to users about their tasks. I should work pretty much like an scheduler. Any ideas how I can accomplish this? ...
0
by: Wolf | last post by:
Hi I am using the outlook add in for vs.net 2005 and outlook 2003. I am creating contacts in outlook from our system The clients want to see only the birthdate's and dont want to be bugged...
7
by: Janey | last post by:
Hi there, I'm setting up a database to track ethical applications related to research and I want to it remind me whenever any of the projects are due for annual review. How can I best go about...
6
by: Kosmos | last post by:
Howdy...I'm still a newbie although I've been working with Access for a couple of months now, it's only been on Fridays (but I've been trying to give back by helping out when I can). Anyways this may...
11
by: Saher | last post by:
Thanks, for the help! hey guys, thanks 4 the help. By the way my access still wont work, but its alright, because i dont need to use it immediately, and im getting a laptop, so it shud be fine. I...
4
by: HariKutty | last post by:
Hello every one, I am working in Asp.Net 2005 web Application.I am storing my employees Details in the Database that includes there Birthday dates,Emailid.So my task is automatically mail should...
2
by: THEAF | last post by:
hi, I'm trying to create a reminder. i have 2 forms one for to set the reminder and one to view all the reminders. these reminders are recorded on access. i can save the reminder and the other form...
0
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,...
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:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
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: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
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...

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.