I have a TMaskEdit component on a form.
I've set the mask to be a date format ' / / ' from the standard selection.
I can either leave this entry blank (used as part of the building up of a dynamic query) or input a date accordingly.
I have the problem whereby if I input a date and then want to clear this date again (i.e. return to ' / / ') to exclude from the search I get the error indicating that it isn't a valid date, etc.
How can I prevent this, ie. leave the TMaskEdit following the blanking to ' / / ' ?
Any thoughts ?
Steve
I've set the mask to be a date format ' / / ' from the standard selection.
I can either leave this entry blank (used as part of the building up of a dynamic query) or input a date accordingly.
I have the problem whereby if I input a date and then want to clear this date again (i.e. return to ' / / ') to exclude from the search I get the error indicating that it isn't a valid date, etc.
How can I prevent this, ie. leave the TMaskEdit following the blanking to ' / / ' ?
Any thoughts ?
Steve