Hi
I have a dbgrid that displays records of events and has a field called ‘Venue’. That field can only have 2 values ‘HOME’ and ‘AWAY’.
I’d like to use QuickCompare to highlight all the records that are at ‘HOME’ .
So I Set FieldName as ‘Venue’, under FieldValue I set Type to ‘String’ but it immediately reverts to <unknown>.
If I set FieldValue to ‘HOME’ I immediately get en error msg ‘Could not convert variamt of type (String) into type (Double). I can’t them remove this value as the error is persistent and eventually I have to close the form or (more often) Delphi.
As QuickCompare has a Type setting for various field types (and my field is a String), how can I use a value of ‘HOME’ or ‘AWAY’ to do a compare?