ADODataset.Filter question.
From: JP (news_at_frieltek.com)
Date: 01/25/05
- Next message: Viatcheslav V. Vassiliev: "Re: ADODataset.Filter question."
- Previous message: Pierre: "Is the "POST" allready done in "BeforeScroll""
- Next in thread: Viatcheslav V. Vassiliev: "Re: ADODataset.Filter question."
- Reply: Viatcheslav V. Vassiliev: "Re: ADODataset.Filter question."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 25 Jan 2005 14:46:14 -0600
I'm trying to apply a filter of:
(Desc1 like '%4%' or AcctNo like '%4%' or Sku like '%4%') and MatchCode =
'A'
to an ADODataset but I am getting:
( X ) Arguments are of the wrong type, are out of acceptable range, or are
in conflict with one another.
If I remove the end << and MatchCode = 'A' >> it works fine. If I use just
<< Matchcode = 'A' >> it will filter the A records correctly. But I cannot
figure out why I cannot filter on both MatchCode and the other text fields
together!
I even tried putting matchcode in parens << and (MatchCode = 'A') but that
failed the same way.
Using Delphi 6, all the patches and going against a Microsoft SqlServer 7.0.
John
- Next message: Viatcheslav V. Vassiliev: "Re: ADODataset.Filter question."
- Previous message: Pierre: "Is the "POST" allready done in "BeforeScroll""
- Next in thread: Viatcheslav V. Vassiliev: "Re: ADODataset.Filter question."
- Reply: Viatcheslav V. Vassiliev: "Re: ADODataset.Filter question."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|