| View previous topic :: View next topic |
| Author |
Message |
Steve Warburton Guest
|
Posted: Fri Nov 19, 2004 12:30 pm Post subject: Filter syntax? |
|
|
I have the following:
Datamodule2.Table_Lookup_Customer.Filter := 'Belongs_Number = ' +
QuotedStr(filternameno);
How do I add 'AND Company_Type = Client'
Cheers
SteveW
|
|
| Back to top |
|
 |
Bill Todd Guest
|
Posted: Fri Nov 19, 2004 1:38 pm Post subject: Re: Filter syntax? |
|
|
Datamodule2.Table_Lookup_Customer.Filter := '
Belongs_Number = ' +
QuotedStr(filternameno) + 'AND Company_Type = ' +
QuotedStr('Client');
assuming that "Client" is a literal, not a variable.
--
Bill (TeamB)
TeamB cannot answer questions received via email
|
|
| Back to top |
|
 |
Steve Warburton Guest
|
Posted: Fri Nov 19, 2004 4:33 pm Post subject: Re: Filter syntax? |
|
|
Done the job many thanks.
"Bill Todd" <no (AT) no (DOT) com> wrote
| Quote: | Datamodule2.Table_Lookup_Customer.Filter := '
Belongs_Number = ' +
QuotedStr(filternameno) + 'AND Company_Type = ' +
QuotedStr('Client');
assuming that "Client" is a literal, not a variable.
--
Bill (TeamB)
TeamB cannot answer questions received via email
|
|
|
| Back to top |
|
 |
|