Hi hab ein problem mit meinem filtersrting laut compiler ist er in ordnung aber wenn ich damit filtern will macht er nicht??er gibt mir dann immer nur ein leeres grid aus. findet hier filleicht einer einen fehler??
Form15.ADOTable1.Filter :='(PRTAUJAHR <= '+i+' and PRTBEZUSMO
<= '+QuotedStr(x)+' and BEINS = '+QuotedStr(y)+') or (PRTIU1RJA
<='+i+' and PRTBEZUSMO <= '+QuotedStr(x)+' and BEINS
= '+QuotedStr(y)+') or (PRTIU2RJA <= '+i+' and PRTBEZUSMO
<= '+QuotedStr(x) +' and BEINS = '+QuotedStr(y)+') or (PRTDP1RJA
<= '+i+' and PRTBEZUSMO <= '+QuotedStr(x) +' and BEINS
= '+QuotedStr(y)+') or (PRTDP2RJA <= '+i+' and PRTBEZUSMO
<= '+QuotedStr(x) +' and BEINS = '+QuotedStr(y)+') or (PRTDP3RJA
<= '+i+' and PRTBEZUSMO <= '+QuotedStr(x) +' and BEINS
= '+QuotedStr(y)+') or (PRTDIJA <= '+i+' and PRTBEZUSMO
<= '+QuotedStr(x) +' and BEINS = '+QuotedStr(y)+') or (PRTSVJA
<= '+i+' and PRTBEZUSMO <= '+QuotedStr(x) +' and BEINS
= '+QuotedStr(y)+') or (PRTETJA <= '+i+' and PRTBEZUSMO
<= '+QuotedStr(x) +' and BEINS = '+QuotedStr(y)+') or (PRTSPJAH
<= '+i+' and PRTBEZUSMO <= '+QuotedStr(x)+' and BEINS
= '+QuotedStr(y)+')';
Danke schonmal für eure hilfe