delete a record binary linked to another record : crash

Ruslan Zasukhin sunshine at public.kherson.ua
Wed Jan 26 15:52:36 CST 2005


On 1/26/05 3:36 PM, "Olivier" <vidal_olivier at yahoo.fr> wrote:

> Hi,
> 
> I cannot delete records of a table linked to another table by a binary
> link.
> I have every time a crash ( no Exception) in the line:
> table.deleteRecord ()
> 
> Example:
> 
> Table street: 4 records
> City table: 4 records
> Link_ZipCity_Street=new vbinaryLink ("link_ZipCity_street", zipCity,
> Street, EVlinkType.kOne, EVlinkType.kMany, evOnDeletion.kCascade)
> 
> Link_ZipCity_Street.linkRecords (array (2,2))
> 
> Later:
> 
> Street.recID=2
> LinkCityStreet.unlinkRecords (array (2,2))
> DicoTable.deleteRecord ()
> 
> even if I remove the line "unlikrecords ",
> 
> Street.recID=2
> DicoTable.deleteRecord ()
> 
> I has also a crash there.

Can you reproduce for us in project?

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