Hi,
I'm having trouble specifying a time in a filter correctly.
e.g. UniQuery1.Filter := 'STARTTIME = ''06.45.00''';
returns no records although there are some which start at that time and will appear if you clear the filter.
What is the correct syntax for times and what operators can I use with times in filters please?
Regards, Paul.
How to specify time (and date) in UniQuery filter
-
- Posts: 38
- Joined: Wed 16 May 2007 01:12
Hi,
The fields are declared as type time(7) on the server and the delphi persistent fields are TTimeFields.
I had used ":" previously and just tried the "." to see if it would happen to work. I hadn't noticed that I had posted the later code containing the "."
Neither syntax seems to work anyway but thanks for your suggestion.
Regards, Paul.
The fields are declared as type time(7) on the server and the delphi persistent fields are TTimeFields.
I had used ":" previously and just tried the "." to see if it would happen to work. I hadn't noticed that I had posted the later code containing the "."
Neither syntax seems to work anyway but thanks for your suggestion.
Regards, Paul.