Subject Re: Issuue with Template (picture) for an entryfield
From Heinz Kesting <>
Date Sat, 16 Sep 2023 21:52:44 +0200
Newsgroups dbase.getting-started

Hi Mervyn,
> Instead of using the entryfield's picture property, the attached example
> uses the entryfield's key event handler to ensure that a point is used
> as the separator between day, month and year values.
> The example filters the rowset on a date field.  If you need to filter
> on a character field holding dates or portions of dates the onKey event
> handler will require more work.

Very interesting solution. My idea was to promp the user with the
available date options via a combobox, from which he selects the desired
date input pattern (DD.MM.YYYY, DD.MM., MM.YYYY, YYYY) and then set the
picture for the entryfield accordly, to make it clear which pattern has
been chosen and force input to that pattern and length.
Here came the picture property quite handy, it's very comfortable typing
the digits, since the dot is already there and you just key in numbers,
jumping automatically from day to month or year.

Unfortunately it looks like this drawback in question can't be sorted
out the way I was hoping for.
So I have to decide, whether to live with that issue or opt in for your

Anyway, thanks a lot for your thoughts, always much appreciated!

Kind regards, Heinz