TCustomADODataSet.SetFiltered failure

From: Douglas Rose (doug.rose_at_aruplab.com)
Date: 06/24/04


Date: Thu, 24 Jun 2004 09:46:57 -0600

I'm trying to apply the fgPredicate filter group to my TADODataSet to know
which records have been deleted so that I can execute
UpdateBatch(arFiltered).

When I set the dataset's Filtered property to True after assigning the
dataset's FilterGroup to fgPredicate, the underlying
TCustomADODataSet.SetFiltered() method fails on:
Recordset.Filter := Integer(FilterGroupValues[FFilterGroup])
resulting in an EOleException with message:
'Arguments are of the wrong type, are out of acceptable range, or are in
conflict with one another'

Is there an update to the Delphi 6 source code which fixes the above problem
with TADODataSet.FilterGroup = fgPredicate?



Relevant Pages

  • Re: Access module does not continue past the Filter Method
    ... Execute the procedure, and single-step through it with F8 so you can trace ... Public Sub Apply_Tech_Filter ... Debug.Print "Past the Filter" ... Debug.Print "Before the Append Statement" ...
    (microsoft.public.access.modulesdaovba)
  • Re: Access module does not continue past the Filter Method
    ... I have added a Debug.Print to the top of the routine and it does execute. ... I successfully put a breakpoint on the top Debug.Print line, ... I also added the "Dirty" code, ... Debug.Print "Past the Filter" ...
    (microsoft.public.access.modulesdaovba)
  • Re: Loading large data sets
    ... doesn't use the canvas widget but comes with an own widget to display 3D stuff. ... The output of one filter is directly passed to next object as it's input. ... So my idea was to create these objects in a shared memory area, where more than one thread has access. ... That way I could create the objects in the main thread and then execute the time consuming update of these objects from a second thread. ...
    (comp.lang.tcl)
  • Re: Im new... so where do I start with Filesystem Filter Drivers?
    ... The EXECUTE bit in DesiredAccess for CreateFile is mis-used by MS's own UI ... Also, the FS filter gets no callbacks on image section creation, except the ... but there are no better means of solving it. ... > immediate problem as a filesystem filter driver monitors a specific device ...
    (microsoft.public.development.device.drivers)
  • Re: Live Source Filter Video and Audio Synchronization
    ... Regarding of the Clock problem, I was able to apply a solution to it(I ... Do you think that graph filter does not take my filter as its reference ... execute GetMiscFlags? ... Audio Output pin only. ...
    (microsoft.public.win32.programmer.directx.video)