0

Script to view current record ... help

Hi, l have a script in a button that takes all values and populates another table. At the end of the script l would like to view the new information in the new table but in the“ form ” view ,not table list view. I am currently using the openTable(“Roller_Blind”) script which opens the new table, but with the last entry, not the form just recorded.  I want to see the entry l just entered in “Form View”, so current record. I cannot find script anywhere, been looking for the last day. Thank you for reading and l hope to get an answer soon. 

4 replies

null
    • Ninox partner
    • RoSoft_Steven.1
    • 3 yrs ago
    • Reported - view

    Use openRecord() instead.

    • Central Park Furnishings
    • Michael_McKenna
    • 3 yrs ago
    • Reported - view

    Hi Steven, thank you for your reply. I have tried your script and the function is not defined :openRecord(string). Message. 
    should it be ....openRecord(“Roller_Blind” this record) ? Or curRecord. Very frustrating. If l use the openTable () it works to the table so what“s up. Thanks 

    • Ninox partner
    • RoSoft_Steven.1
    • 3 yrs ago
    • Reported - view

    Do you use something like let i =: (create Roller_Blinds ) in your script? Then you can use openRecord(i) to open the created record in your last line of code. 

    • Central Park Furnishings
    • Michael_McKenna
    • 3 yrs ago
    • Reported - view

    👏👏👏👏👏👏. Thank you l had the let I =(create Roller_Blinds) in the middle of my script just needed the last piece i openRecord(i) to make the magic work. Thank you. 

Content aside

  • 3 yrs agoLast active
  • 4Replies
  • 573Views