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
Andis Blicāns, Grasko
Hi, We have client using 8.5 2021-09-26 (build 85400383). The fields "Max Web Users" and "Max Sessions" ar blank. Server is closing itself almost every day. Message in hansa....
15:52 26 Apr 2024
Afternoon, Some of our customers haven't changed their passwords for a while but they're not getting any password expiry message. If I copy their Standard ID into a new user on some test ...
17:22 25 Apr 2024