thank you for the codes
about:
NEVER EVER use localized date-representations in Queries
hm, yes I know....
I have this problem: These date selection comes from the user interface of one certain frame.
Many queries from many units work with those date-selections.
So in this very unit there is a code snippet, which takes those dates and melts them into a where-snippet.
I only call ThisFrame."date including where" and "date including and" and fill it in as string.
I cannot pass over param-by-names elements into the date-holding unit.
And I "cannot" grab those elements every time again.
Sure, I could, - and I had it before.
This led to that many errors, that I do this solution now.
I do not like the German date format at all. Date formats are troubling me in my whole work, because there is an input format coming from US by MM / DD / YY.
No idea, why our US collegues want it like this.
The short idea of many words:
I there a way to make "parambyname"-elements into a method?
The way I tried, - did not work.