0
how to use popup?
Hi. I'm trying to figure out how to make the popup function work for my needs. I know that popupRecord(record('Table',1)) pops up line 1 of 'table'. Now let's say I have multiple lines in 'Table' and every line is associated with a different user. How to change that 1 to popup the line referred to the current user?
Hope I made myself clear...Thanks for your help!
1 reply
-
Say there is a table 'user' and a subtable 'subtable'. So is would be:
–––
let myID := this._id;
popupRecord(record('subtable', number(first(select 'subtable'['User'._id = myID]._id))))
–––Birger
Content aside
- 6 yrs agoLast active
- 1Replies
- 2624Views