.FindContains ignores "inSelection" VSet parameter
    Erik Mueller-Harder 
    valentina-list at vermontsoftworks.com
       
    Tue Dec 14 10:23:20 CST 2004
    
    
  
>> myVSet = VarCharField.FindContains(inValue, inSelection) ignores the
>> InSelection parameter, so it's impossible to iterate through multiple
>> search terms on progressively smaller VSets.
>
> Please note!
>
> Smaller selection MEANS SENSE only if you do search for NON-indexed 
> field.
>
> For indexed field, Valentina still will do search on index.
> Just comfort is that it will self make AND-union of sets. And you can 
> reduce
> your code.
Sounds good.  So how can I modify the following command to search for 
records containing both "Ruslan" and "Erik"?
	myVSet = myVarChar.FindContains("Ruslan")
Thanks!
-- Erik
    
    
More information about the Valentina-beta
mailing list