methods

Ruslan Zasukhin sunshine at public.kherson.ua
Fri Jan 21 22:03:00 CST 2005


On 1/21/05 7:53 PM, "Olivier" <vidal_olivier at yahoo.fr> wrote:

>> 
>> 
>> 3) what is your task?
>>     give us example of what you need ?
> 
> I have a table of ZIP-Citys :
> 
>    zip=new vstring("zip",5,EVflag.fIndexed)
>    city=new vvarChar("city",100,EVflag.fIndexed+EVflag.findexByWords)
>    CityIdx=new vvarChar("cityIdx",100,EVflag.fIndexed,"city")
> 
> and a table of streets :
> 
>    street=new vvarChar("street",100,EVflag.fIndexed+EVflag.fIndexByWords)
>    streetIdx=new vvarChar("streetIdx",25,EVflag.findexed,"street")
> 
> Every street belongs to a couple zip / city :
> 
> link_Street_ZipCity=new vbinaryLink("link_Street_ZipCity", streetTb,
> ZipCityTb, EVlinkType.kOne, EVlinkType.kMany)

I think you have made not correct settings.

Must be
 
    ONE city  -- MANY streets.
    
Right? Then should be

 link_Street_ZipCity=new vbinaryLink(
    "link_Street_ZipCity",
     ZipCityTb,      streetTb,
    EVlinkType.kOne, EVlinkType.kMany)


(I have change order of tables)


-- 
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
-------------------------------------------------------------




More information about the Valentina-beta mailing list