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
Reino Botha
Please check your version of android if it is the same as the server you are connecting too. ...
08:24 21 Nov 2024
Bror-Erik Kotiranta
In NC you hace operations>>ai chats. They are used for these Br, Bror-Erik...
05:12 21 Nov 2024