delete a record binary linked to another record : crash

Olivier vidal_olivier at yahoo.fr
Wed Jan 26 14:36:57 CST 2005


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.

olivier



More information about the Valentina-beta mailing list