Discussions

 View Only
  • 1.  URL code to VIEW record

    Posted 11-07-2018 13:38
    1. Have a string of code, right now it shows the record as EDIT.
    what part of the code makes it EDIT?

    2. How can I use the same string of code to VIEW the record?


    If([Program]="CACFP", URLRoot() & "db/" & [_DBID_MEAL_SCHEDULES] &"?a=er&rid="&[Record ID#]&"&dfid=24","null")



  • 2.  RE: URL code to VIEW record

    Posted 11-07-2018 16:40
    1. Have a string of code, right now it shows the record as EDIT.
    what part of the code makes it EDIT?
    Read about the a=er and other actions here - https://community.quickbase.com/quickbase/topics/where-is-there-a-list-of-the-url-functions


    2. How can I use the same string of code to VIEW the record?


    Change the a=er (Edit Record) to a=dr (Display Record), like this:

    If([Program]="CACFP", URLRoot() & "db/" & [_DBID_MEAL_SCHEDULES] &"?a=dr&rid="&[Record ID#]&"&dfid=24","null")