0

How can I create a new record linked?

Hi!

I've tryed this code but the link (ID) doesn't worked... somebody canhelp me please?

let t := this.ID;
let d := 'Data acquisto';
let pl := 'Prezzo di listino';
let sc := Sconto;
let p := (create Prezzi);
p.(Data := d);
p.(Prezzo := pl);
p.(Sconto := sc);
p.ARTICOLI.(ID := t);
popupRecord(p)

2 replies

null
    • Nick
    • 3 yrs ago
    • Reported - view

    Try this:

    p.(ARTICOLI := t);

    • Sal
    • 3 yrs ago
    • Reported - view

    Thanks, now it works!

Content aside

  • 3 yrs agoLast active
  • 2Replies
  • 317Views