![]() |
|
|||||||
| Home | Register | FAQ | Members List | Search | Today's Posts | Mark Forums Read |
| Questions & Help Needed Post any question regarding Basic4ppc. |
![]() |
|
|
LinkBack | Thread Tools | Display Modes |
|
||||
|
OK, so i'm back to coding a few hours instead of a few minutes from time to time....
I'm a bit Rusted, so I have already made some "stupid" question, wich EREL kindly answeared me... But now a "smart" question.... I need to set in an ini file 2 times to fire an alert...but the user has the option of setting only one of the time variables... How do i make the code ignore the empty time vatriable when cheking for the value, and thus make the time chek for that variable not to run...?
__________________
Paulo Gomes Porto, Portugal PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD PPC: Qtek9000, 1GB SD DLL Version Listing |
|
||||
|
You understood me wrong...
I'm writing an "alerter" for my company, and storing in the ini file the times that alert should take place... My problem is that the user may define only one alert, thus making the second one, not meant to run....How do I prevent it, since the conde that will be using the values is the same....??
__________________
Paulo Gomes Porto, Portugal PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD PPC: Qtek9000, 1GB SD DLL Version Listing |
|
||||
|
I'm thinking that you should just store a default time value in those cases where the user leaves it blank or does not enter it; then ignore that particular value when checking whether or not to show the alert.
Which, of course, is an absudly simple answer. Which means I probably still don't fully understand the problem. Can you post any part of the code? Gary |
|
||||
|
I've not yet got to that part of my codding, t although simp,your suggestion might work, because I HAVE to test the time value (the user entry with the NOW time), and fire the alert if both are the same...so Adding a condition to do nothing is a possability...
Thanks...
__________________
Paulo Gomes Porto, Portugal PC: Dual-Core 1,8Ghz, 2GB RAM, 80GB HD PPC: Qtek9000, 1GB SD DLL Version Listing |
![]() |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|
Similar Threads
|
||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| "AddEvent" and "buttonUp/buttonDown" | Byak@ | Questions & Help Needed | 12 | 09-10-2008 04:04 PM |
| Is there any thing like Visual Basic "Tabbed dialog control" in Basic4ppc? | mozaharul | Questions & Help Needed | 6 | 03-23-2008 12:07 PM |
| Image Button kommt nicht wieder "hoch" | troll | German Forum | 3 | 02-22-2008 10:03 AM |
| calling the device's "Programs" or "settings" screens | HarleyM | Questions & Help Needed | 0 | 12-05-2007 03:59 AM |
| Another "Stupid" question!!! | Cableguy | Questions & Help Needed | 2 | 06-28-2007 05:15 PM |