|
-
Aug 20th, 2012, 10:59 AM
#1
Thread Starter
New Member
Reset count in setting on date
Hello,
How can i reset the count in My.Settings.PushVerstuurd on 0 when it is the first day of the month.
It will be reset every month.
Please help
Thanks!
-
Aug 20th, 2012, 11:17 AM
#2
Re: Reset count in setting on date
You might have to give a more detailed account of what you're doing and what you want. For instance, is My.Settings.PushVerstuurd an Integer that actually contains a count of something or is it a collection and by resetting the count do you mean clearing it? What type of application is this and how is it being used? Is it running all the time? Is it used every day?
-
Aug 20th, 2012, 11:20 AM
#3
Thread Starter
New Member
Re: Reset count in setting on date
It is an application that allows you to include push notifications to send. Each time a push notification is sent, there is one added to the My.Settings.PushVerstuurd.
At the beginning of the month (1 September, 1 October, etc.) this number is put back to 0.
How can I do this?
Thanks for thinking!
-
Aug 20th, 2012, 11:37 AM
#4
Re: Reset count in setting on date
So, ignoring the other questions on purpose or just didn't see them? I did ask them for a reason. If you can't answer them for some reason then say so. If you don't understand or need more information yourself then say so. I'm asking questions because I need that information to provide the appropriate advice. If you just don't bother answering then I can't provide any advice at all without guessing, which I'm not going to do because it's a waste of time if I guess wrong.
-
Aug 20th, 2012, 07:42 PM
#5
Thread Starter
New Member
Re: Reset count in setting on date
I'm not so good in English i'm sorry.
I will proceed to explain:
When an user clicks a button. The setting 'PushVerstuurd' will be increase with 1 (Integer). But when a new month starts (1st of each month) the value of the 'PushVerstuurd' setting must be 0 (checks when the application starts).
How can I do the reset ('PushVerstuurd' to 0) when it's a new month.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|