API methods on binary link

Olivier vidal_olivier at yahoo.fr
Sat Jan 22 14:27:16 CST 2005


>> If I want to see all the streets the zip of which begins with '33', in
>> SQL I makes:
>>
>> SELECT * FROM ZIPCity, Streets WHERE left(zip,2)='33'
>
> You make at first search in table ZIP
>
>     set1 = fldZip.Find( 33 )
>

I want ONLY the zip BEGINNING by 33. ( left(zip,2)=33).

how ?


> Now you can iterate set and use
>
>     Link.FindLinked(
>         inRecID as Integer, inTableA as VTable, inTableB as VTable
>
>

I does not understand.
I use the API because it should be faster than SQL (and because I don't 
like SQL! ;o-).
If I has to use a Realbasic loop, it is going to be slower!
RB is not C ++!
Slower and more complicated.
What interest?

> Hmm, we need enable into V4RB one more function that do
>
>     set = Link.FindLinked( inSet, TA, TB )
>
> We have such func in kernel.
>
>
> -- 
> Best regards,
> Ruslan Zasukhin      [ I feel the need...the need for speed ]
> -------------------------------------------------------------
> e-mail: ruslan at paradigmasoft.com
> web: http://www.paradigmasoft.com
>
> To subscribe to the Valentina mail list go to:
> http://lists.macserve.net/mailman/listinfo/valentina
> -------------------------------------------------------------
>
>
> _______________________________________________
> Valentina-beta mailing list
> Valentina-beta at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina-beta
>



More information about the Valentina-beta mailing list