[V4MD] deleteAllLinkedRecords

info at vallemediatime.com info at vallemediatime.com
Mon Sep 12 08:57:12 CDT 2005


Hi Ruslan and Igor
I've tried to add:
link.deleteAllLinkedRecords(Person)
into your Link_Binaty_Records example

e.g

on mouseUp me
global gDb
person = gDb.table("Person")
if CheckValError() then exit
phones = gDb.table("Phones")
if CheckValError() then exit
link = phones.link(1)
if CheckValError() then exit

link.deleteAllLinkedRecords(Person)
...
end

but I get this Script error: Wrong number of parameters
if I change the line with:
link.deleteAllLinkedRecords(Phones) I get the same error...
why?

Thanks
Paolo


More information about the Valentina-beta mailing list