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
Hello, Bug has been verified and assigned to a programmer. We will push to be done as soon as possible. Thank you. Best regards, Benjamin...
15:48 9 May 2024
Hi, No changes should have been made that would increase client's HDB file. Please try to delete HANSA.HDB from client folder and reconnect to server and check if it will grow to 30MB again. ...
10:14 30 Apr 2024