pop up message

J

jiji

I am looking for a way to have a pop up message saying that my clients are
due to pay their bill with 3 days. pls help, I am not too much familiar with
macro or any other programmation but i can catch fast if you explain to me
in details. thank you

jiji
 
F

freakazeud

Hi,
create a query on the table which holds the date you want to calculate on.
Then in the criteria of the field use: DateAdd("d",-3,[YourDateField]) !
Now run the query and it should show you all people who are due in 3 days.
You can now use a dcount function on any event (maybe your first forms on
open event) to check if the query has values and give a msgbox, something
like:

If Dcount("*","yourquery") > 0 Then
MsgBox("You have poeple who will be due in 3 days!")
End If

HTH
Good luck
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top