isnoend2001
asked on
modify code to allow for multiple later times to be made regarding 28903587
have code to allow deferring reminders
want to modify this code to make multiple postponements
code can deferr warnings one time , but user may want to defer the reminder a 2nd time and maybe even a 3rd
if desired
how can this be modified ?
28903587a--1-.zip
want to modify this code to make multiple postponements
code can deferr warnings one time , but user may want to defer the reminder a 2nd time and maybe even a 3rd
if desired
how can this be modified ?
28903587a--1-.zip
You already have this ability. If the Defer Time form appears and you choose for example 5 minutes, then 5 minutes will be added to the Time/Date in the grid and 5 minutes later the form will appear again.
ASKER
but what if when the form appears again can i add another 5 or anything else ?
will it keep reminding ?
will it keep reminding ?
Yes.
ASKER
can i keep deferring different times ?
eg say i am busy doing something and select 5 minutes ad want to delay another 30 minutes
can this be done ?
eg say i am busy doing something and select 5 minutes ad want to delay another 30 minutes
can this be done ?
Yes
ASKER
so this has already been done ?
i will test
i will test
ASKER
i noticed this when stalling the time the time in the grid is increased, this should not happen
Well in my first post I said that that's what would happen, but in any car I'll fix it up to mood
ASKER
but in any car I'll fix it up to moodi think you meant
in any case i will fix it tomorrow, yes ?
Yes, I wrote it on my iPad and autocorrect "fixed" it for me.
As of course you know, there are two kinds of time reminders, "Repeat Every Day" and "One Time - Date".
Let's say that for the "Repeat Every Day" type that there's a reminder that happens at 9:00 AM every day. When it gets to be 9:00 AM I will show the new form and if, say, the user chooses to delay 5 minutes I will put the current date and 9:05 AM in hidden column 8. The timer will keep running and each time I will check column 8. When it gets to be 9:05 AM and that time is in column 8 I will show the form again and repeat the process until the user chooses "Dismiss". When he chooses "Dismiss" I will store today's date and "Done" in column 8 and I will not display the new form again that day. When the current date is after the date in column 8 I will clear the values in column 8. That will let the process start over again.
For the "One Time - Date" type I will do the same things except that when "Dismiss" is chosen I will delete the reminder.
Does that sound like what you want.
Let's say that for the "Repeat Every Day" type that there's a reminder that happens at 9:00 AM every day. When it gets to be 9:00 AM I will show the new form and if, say, the user chooses to delay 5 minutes I will put the current date and 9:05 AM in hidden column 8. The timer will keep running and each time I will check column 8. When it gets to be 9:05 AM and that time is in column 8 I will show the form again and repeat the process until the user chooses "Dismiss". When he chooses "Dismiss" I will store today's date and "Done" in column 8 and I will not display the new form again that day. When the current date is after the date in column 8 I will clear the values in column 8. That will let the process start over again.
For the "One Time - Date" type I will do the same things except that when "Dismiss" is chosen I will delete the reminder.
Does that sound like what you want.
ASKER
yes that sounds good
ASKER
Would it be difficult to show the details of the reminder in the background ?
What do you mean?
ASKER
Have the reminder detail open from disk into the frmdetail before the reminder form
Sorry but I still don't understand. By "reminder detail" are you referring to the Flexgrid.dat file? If so then that will be opened and processed just the way it is now.
Are you saying that you want frmDeferTime to say
Your "Take Morning Medicines" reminder is due at <its due time>". To delay the reminder select below" rather than what it says now?
Your "Take Morning Medicines" reminder is due at <its due time>". To delay the reminder select below" rather than what it says now?
ASKER
no the the delay reminder text will not change. it will just open the detail with the filename in Col 0
that way you could switch between forms without closing any.
that way you could switch between forms without closing any.
I'm showing frmDeferTime modally which means that no other form can be accessed without making a choice on the form. If it's not shown modally the the user could access any form he wanted to, but if that's true what's the purpose of frmDeferTime?
ASKER
you are right, never mind
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
you like you can change the 0 of first row to "Delay"what do you mean ?
ASKER
Good Job
Thank You
Thank You