Uè okay che faccio domande da principianteOriginariamente inviato da alka
Dovrebbe oppure è?![]()
In secondo luogo, trattandosi di un testo, non dovrebbe essere "quotata" la parte dell'espressione in cui specifichi la maschera?
Per esemplificare
La proprietà Filtered è impostata a True, voglio sperare...codice:Filter := 'denominazione = ' + QuotedStr(TextBox.Text);![]()
però
Filtered := true anche perché se scrivo Stefano Rossi lo visualizza.
Come dice l'articolo che mi hai linkato, FilterOptions è vuoto di default e le uniche opzioni sono:
The FilterOptions is a set of two values - both used when filtering string fields. If the foCaseInsensitive is included in the FilterOptions, comparison between the literal in the Filter property string and the field values are case-insensitive. The foNoPartialCompare forces Delphi to treat the asterisks (*) as a literal character rather than as wildcard. By default, FilterOptions is set to an empty set.

Rispondi quotando