I wrote a 4GL procedure and put in on AppServer, it takes date in YYYYMMDD format. I can use Dynamic query with ordinary character field, but how can I do it with date field?