Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > comp.lang.clipper.visual-objects > #11741

Re: Large filter crashing, looking for workaround

From Martin <Martin@spam.spam>
Newsgroups comp.lang.clipper.visual-objects
Subject Re: Large filter crashing, looking for workaround
Date 2018-07-03 11:43 +0100
Organization A noiseless patient Spider
Message-ID <phfk01$68d$1@dont-email.me> (permalink)
References <ph5ac9$b4b$1@dont-email.me> <phclv0$cdb$1@dont-email.me>

Show all headers | View raw


Was on wrong handle

This works on 380 chars so far

METHOD AdsFilter (cFilter)	CLASS dbServer
LOCAL nHandle			AS LONGINT

nHandle			:= GetACETableHandle()

AdsClearFilter(DWORD(_CAST,nHandle))

RETURN AdsSetFilter(DWORD(_CAST,nHandle),String2PSZ(cFilter))


On 02/07/2018 08:58, Dirk (Belgium) wrote:
> Hi Martin,
> 
> Your filter can be very small. Just call a function in your program,
> like "Myfilter()"
> 
> That function can call a codeblock which is constructed just before you
> place the filter.
> 
> Please try this suggestion,
> 
> Cheers, Dirk
> 
> ===============================================
> 
> Martin wrote:
> 
>> Crashing when it calls VODBSetFilter()
>>
>> What I would like to know, how would I do it with a special version
>> using AdsSetFilter or AdsSetFilter100
>>
>> VO limit is 256 but ADS limit is much higher
>>
>> But I cannot even get a simple test to work.
>>
>> Any ideas please?
> 

Back to comp.lang.clipper.visual-objects | Previous | Next — Previous in thread | Find similar | Unroll thread


Thread

Large filter crashing, looking for workaround Martin <Martin@spam.spam> - 2018-06-29 13:57 +0100
  Re: Large filter crashing, looking for workaround "Dirk (Belgium)" <dirk.dot.herijgers@pbprojects.dot.be> - 2018-07-02 07:58 +0000
    Re: Large filter crashing, looking for workaround Martin <Martin@spam.spam> - 2018-07-03 09:33 +0100
    Re: Large filter crashing, looking for workaround Martin <Martin@spam.spam> - 2018-07-03 11:43 +0100

csiph-web