Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Appointment Reminder 1

Status
Not open for further replies.

whill1

Technical User
Feb 14, 2004
46
US
I want to create a reminder for appointments. I would like to be able to set the amount of time differently for each appointment as driving distance and traffic are a factor as when i need the reminder set. Can I do this with a macro?
Do I set it up in a query? I would like a pop-up type reminder to pop-up on top of other applications if possible?
Any Ideas???
Thanks,
W.
 
Is this what you are looking for? To set a task in Outlook?

Private Sub Set_Reminder_Click()
If (MsgBox("Would you like to set a reminder?", vbYesNo + vbQuestion)) = vbYes Then
Dim olapp As New Outlook.Application
Dim olTask As Outlook.TaskItem

Set olTask = olapp.CreateItem(olTaskItem)

olTask.Subject = "Call Customer" & " " & (Me![FirstName] & " " & Me![LastName]) & " @ " & Me![Phone1]
olTask.DueDate = Me![YourFieldName]
olTask.ReminderTime = Me![YourFieldName] & " 9:00am"
olTask.ReminderSet = True
olTask.Display

End If
End Sub



:)WB
 
Thanks wabeg,
Actually I am not using the outlook calendar. what I am looking for is the basic code for how to set a pop-up reminder and beep for: Not sure abot correct syntax

If Now()+15 minutes = [Tablename]![Datefield] & [Tablename]![TimeFeild] Then MsgBox ,Beep.
I need the correct syntax for the above. --- Also need to know how to have this condition checked automatically every so many (seconds or minutes)without cutting performance. I know this can be done and fairly easy as I did it in a class about 8rys ago. I either did it in the query but most likely in a macro. I cannot begin to remember how i did but it worked great and I believe that it would even pop-up on top of other applications.
Thank you for your reply!!!!!
W.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top