by nageswaragunupudi » Wed Mar 26, 2008 8:23 am
Mr Duch
Use the filters in the normal way.
SET FILTER TO ..............
or
DbSetFilter( .... )
The rddads.lib converts these function into ADS native filter functions.
But please keep these points in mind.
Please do not use UDFs. We should use expressions that the Server should understand. That is no alias names. If we have indexes on the fieldnames used in the filter expression, ADS Server creates bitmap filter very fast. ( like comix, six, etc ). If not the ADS server can not fully optimise the filter. In such cases, the unopimised portion is to be resolved at the client level. This normally delays execution.
Once you get used to the ADS functionality and like to use the direct ADS functions, then the rddads.lib supports such direct calls also. For Ads documentation, I suggest you download ARC ( Advantage Data Architect ) from ADS website. This is free. Its help file gives all documentation of ACE32.DLL . RddAds.lib in turn calls these functions in ace32.dll.
But to start with use well known functions like dbsetfilter or the usual commands.
Regards
G. N. Rao.
Hyderabad, India