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

Reminders

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 this? I tried a code
from another website and it's not working. I have a table with all of
the information in and I want a code that will create a popup on
startup and let me know how many annual reviews are due.

Many thanks

Jane

Jul 18 '06 #1
7 3301
A fairly simple way to do this is to create a form to show the reminders
(typically in Continuous view, one per row.)

In this form's Open event, cancel if there are no records:
Private Sub Form_Open(Cancel As Integer)
If Me.RecordsetClone.RecordCount = 0 Then
Cancel = True
'MsgBox "No reminders"
End If
End Sub

Now all you need to do in your initialization code or AutoExec macros is
OpenForm.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Janey" <ja*******@gmail.comwrote in message
news:11**********************@m73g2000cwd.googlegr oups.com...
>
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 this? I tried a code
from another website and it's not working. I have a table with all of
the information in and I want a code that will create a popup on
startup and let me know how many annual reviews are due.

Many thanks

Jane

Jul 18 '06 #2
Thanks

I've managed to do this but putting in a code but I want it show up not
just on the date it's due but maybe a week before and week after. How
would I encorportate this in this line of code?

intStore = DCount("[EthicsNumber]", "[tblJobs]", "[ExpectedReportDate]
<=Now() AND [Complete] =0")
Thanks

Jane

Allen Browne wrote:
A fairly simple way to do this is to create a form to show the reminders
(typically in Continuous view, one per row.)

In this form's Open event, cancel if there are no records:
Private Sub Form_Open(Cancel As Integer)
If Me.RecordsetClone.RecordCount = 0 Then
Cancel = True
'MsgBox "No reminders"
End If
End Sub

Now all you need to do in your initialization code or AutoExec macros is
OpenForm.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Janey" <ja*******@gmail.comwrote in message
news:11**********************@m73g2000cwd.googlegr oups.com...

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 this? I tried a code
from another website and it's not working. I have a table with all of
the information in and I want a code that will create a popup on
startup and let me know how many annual reviews are due.

Many thanks

Jane
Jul 19 '06 #3
Could you create a query, and add those 2 things as criteria?
Then set the RecordSource of your form to that query.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Janey" <ja*******@gmail.comwrote in message
news:11*********************@s13g2000cwa.googlegro ups.com...
Thanks

I've managed to do this but putting in a code but I want it show up not
just on the date it's due but maybe a week before and week after. How
would I encorportate this in this line of code?

intStore = DCount("[EthicsNumber]", "[tblJobs]", "[ExpectedReportDate]
<=Now() AND [Complete] =0")
Thanks

Jane

Allen Browne wrote:
>A fairly simple way to do this is to create a form to show the reminders
(typically in Continuous view, one per row.)

In this form's Open event, cancel if there are no records:
Private Sub Form_Open(Cancel As Integer)
If Me.RecordsetClone.RecordCount = 0 Then
Cancel = True
'MsgBox "No reminders"
End If
End Sub

Now all you need to do in your initialization code or AutoExec macros is
OpenForm.

"Janey" <ja*******@gmail.comwrote in message
news:11**********************@m73g2000cwd.googleg roups.com...
>
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 this? I tried a code
from another website and it's not working. I have a table with all of
the information in and I want a code that will create a popup on
startup and let me know how many annual reviews are due.

Jul 19 '06 #4
ADezii
8,834 Expert 8TB
Could you create a query, and add those 2 things as criteria?
Then set the RecordSource of your form to that query.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Janey" <janerogan@gmail.comwrote in message
news:1153323467.800864.58880@s13g2000cwa.googlegro ups.com...
'Original
intStore = DCount("[EthicsNumber]", "[tblJobs]", "[ExpectedReportDate]
<=Now() AND [Complete] =0")

'Revised
intStore = DCount("[EthicsNumber]", "[tblJobs]", "[ExpectedReportDate]
BETWEEN ((Now() - 7) AND (Now() + 7)) AND ([Complete] =0"))
Jul 19 '06 #5

I've done this and it half works. What do i need to put in the date
field to make it so I get reminders a week before todays date and a
week after?

Thanks

Allen Browne wrote:
Could you create a query, and add those 2 things as criteria?
Then set the RecordSource of your form to that query.

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Janey" <ja*******@gmail.comwrote in message
news:11*********************@s13g2000cwa.googlegro ups.com...
Thanks

I've managed to do this but putting in a code but I want it show up not
just on the date it's due but maybe a week before and week after. How
would I encorportate this in this line of code?

intStore = DCount("[EthicsNumber]", "[tblJobs]", "[ExpectedReportDate]
<=Now() AND [Complete] =0")
Thanks

Jane

Allen Browne wrote:
A fairly simple way to do this is to create a form to show the reminders
(typically in Continuous view, one per row.)

In this form's Open event, cancel if there are no records:
Private Sub Form_Open(Cancel As Integer)
If Me.RecordsetClone.RecordCount = 0 Then
Cancel = True
'MsgBox "No reminders"
End If
End Sub

Now all you need to do in your initialization code or AutoExec macros is
OpenForm.

"Janey" <ja*******@gmail.comwrote in message
news:11**********************@m73g2000cwd.googlegr oups.com...

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 this? I tried a code
from another website and it's not working. I have a table with all of
the information in and I want a code that will create a popup on
startup and let me know how many annual reviews are due.
Jul 20 '06 #6
So the criteria might be:
Between (Date() - 7) And (Date() + 7)

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Janey" <ja*******@gmail.comwrote in message
news:11**********************@m73g2000cwd.googlegr oups.com...
>
I've done this and it half works. What do i need to put in the date
field to make it so I get reminders a week before todays date and a
week after?

Thanks

Allen Browne wrote:
>Could you create a query, and add those 2 things as criteria?
Then set the RecordSource of your form to that query.

"Janey" <ja*******@gmail.comwrote in message
news:11*********************@s13g2000cwa.googlegr oups.com...
Thanks

I've managed to do this but putting in a code but I want it show up not
just on the date it's due but maybe a week before and week after. How
would I encorportate this in this line of code?

intStore = DCount("[EthicsNumber]", "[tblJobs]", "[ExpectedReportDate]
<=Now() AND [Complete] =0")
Thanks

Jane

Allen Browne wrote:

A fairly simple way to do this is to create a form to show the
reminders
(typically in Continuous view, one per row.)

In this form's Open event, cancel if there are no records:
Private Sub Form_Open(Cancel As Integer)
If Me.RecordsetClone.RecordCount = 0 Then
Cancel = True
'MsgBox "No reminders"
End If
End Sub

Now all you need to do in your initialization code or AutoExec macros
is
OpenForm.

"Janey" <ja*******@gmail.comwrote in message
news:11**********************@m73g2000cwd.googleg roups.com...

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 this? I tried a code
from another website and it's not working. I have a table with all
of
the information in and I want a code that will create a popup on
startup and let me know how many annual reviews are due.

Jul 20 '06 #7
Brilliant! It works. Thanks very much Allen.

Jane

Allen Browne wrote:
So the criteria might be:
Between (Date() - 7) And (Date() + 7)

--
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.

"Janey" <ja*******@gmail.comwrote in message
news:11**********************@m73g2000cwd.googlegr oups.com...

I've done this and it half works. What do i need to put in the date
field to make it so I get reminders a week before todays date and a
week after?

Thanks

Allen Browne wrote:
Could you create a query, and add those 2 things as criteria?
Then set the RecordSource of your form to that query.

"Janey" <ja*******@gmail.comwrote in message
news:11*********************@s13g2000cwa.googlegro ups.com...
Thanks

I've managed to do this but putting in a code but I want it show up not
just on the date it's due but maybe a week before and week after. How
would I encorportate this in this line of code?

intStore = DCount("[EthicsNumber]", "[tblJobs]", "[ExpectedReportDate]
<=Now() AND [Complete] =0")
Thanks

Jane

Allen Browne wrote:

A fairly simple way to do this is to create a form to show the
reminders
(typically in Continuous view, one per row.)

In this form's Open event, cancel if there are no records:
Private Sub Form_Open(Cancel As Integer)
If Me.RecordsetClone.RecordCount = 0 Then
Cancel = True
'MsgBox "No reminders"
End If
End Sub

Now all you need to do in your initialization code or AutoExec macros
is
OpenForm.

"Janey" <ja*******@gmail.comwrote in message
news:11**********************@m73g2000cwd.googlegr oups.com...

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 this? I tried a code
from another website and it's not working. I have a table with all
of
the information in and I want a code that will create a popup on
startup and let me know how many annual reviews are due.
Jul 20 '06 #8

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

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...
0
by: Guido van Rossum | last post by:
Proposal Submission Deadline: Tonight! -------------------------------------- Tonight at midnight (in *some* timezone :-) is the last time to submit PyCon proposals....
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...
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...
7
by: nicola1982 | last post by:
Hi, This may sound ridiculously stupd but i taught myself Microsoft Access so my knowledge is VERY sketchy. I have set up a database of all my sales leads, contact details, time and topic of calls...
5
by: njuneardave | last post by:
I have a full-screen C# app, but windows notifications (the little balloons on the bottom right-hand of the screen) and outlook reminders will pop on top of my app. i want to prevent them from...
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:
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
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
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...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...

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.