0

Select from Choice Dynamic from button go to record in another table

let selectedDocument := 'Document Choice'; // Choice Dynamic
let rD := first(select Document where 'Document Name' = selectedDocument);
openRecord(rD)

 

The Choice Dynamic is in Dashboard and the another table is Document.

3 replies

null
    • Rafael Sanchis
    • Rafael_Sanchis
    • 2 wk ago
    • Reported - view

    Ready

    • Fred
    • 2 wk ago
    • Reported - view

    FYI, if 'Document Choice' uses Document as the root table then you can use the record command to quickly get the same record and remove the select.

    let rD := record(Document, number('Document Choice'));
    openRecord(rD)
    
      • Rafael Sanchis
      • Rafael_Sanchis
      • 2 wk ago
      • Reported - view

       Thanks Fred I use this on other DB and find it. 

Content aside

  • Status Answered
  • 2 wk agoLast active
  • 3Replies
  • 27Views
  • 2 Following