Einzelnen Beitrag anzeigen

danten

Registriert seit: 19. Feb 2012
Ort: Czech Republic, Prag
126 Beiträge
 
Delphi 10.1 Berlin Architect
 
#10

AW: DBGrid filtering

  Alt 15. Aug 2012, 08:23
Hmmm.
Entering the Eventname plus 'example' in Google and press 'search'? Easy.
Read the examples? Easy.
Open Delphi and load the project? Easy.
Find the event in the objectinspector? Easy.
Doubleclick? Easy.
Adapt the example found in google? ...
Write an example here is easy, but for you a problem.
Delphi-Quellcode:
 with dm.ds_distributor.DataSet do begin
    Filtered := False;
    Filter := 'Firma <> ' + QuotedStr('A') + ' AND ' +
  'Firma <= ' + QuotedStr('D');
    Filtered := True;
end;
That's what I needed without google ....
Daniel

Geändert von danten (15. Aug 2012 um 08:39 Uhr)
  Mit Zitat antworten Zitat