cannot create record links
Aldevinas Katkus
11-24-17
My code is:
if (RecordStore(SDr, false)) then begin
LogText(0, "WayListr " & WayListr.SerNr & " SDr.SerNr " & SDr.SerNr);
CreateRecordLink(WayListr,CurrentCompany,SDr,CurrentCompany);
CreateRecordLink(SDr,CurrentCompany,WayListr,CurrentCompany);
...

Hansa.log has
2017-11-24 11:55:32 AD WayListr 52 SDr.SerNr 78
Record links are not visible in the paperclip, even though SDVc and WaylistVc serNr are correct (they do exist).

RlinkVc register does contain a record:
1    WayListVc    52   
1    sd    78   

Any ideas why these links are not visible?
I have added some new fields to WayListVc and SDVc record structure.
ver. 8.3 2017-07-16 (build 83250800)




Erik Elmgren
12-4-17
Under the paperclip you now find only links to external files and notes. Links to other records you find under the link manager icon next to it (four arrows).

Other than that your code is correct as long as WayListr is read from the database (exists with that serial number) and all records are in the current company (no. 1 from your RLinkVc export snippet).

Erik
Aldevinas Katkus
12-4-17
Oh yes it works, I have missed that four arrows icon.
Leave Comment
You can subscribe to notifications for this post by selecting the 'star' icon on the top right corner of the post.
Back to the list
Latest Posts
Gastón Salomone
Hi David, Since this happend in a timed task and its a memory problem, system crash and there are not any messages in hansa.log In hansa log. last lines are following: 2025-04-24 22:48:20 runn...
16:15 25 Apr 2025
Paul Timms
Thanks David! I'll give that a go and confirm if that works. Paul...
10:54 23 Apr 2025