Forum Discussion

MichaelTamoush's avatar
MichaelTamoush
Qrew Captain
5 years ago

Add and Edit Api

Can I run both the Add and Edit API with one formula URL button? The goal is to create a new record, and then check a box on the current record.

I know how to do each of these separately, but don't know if I can run them with one button click, and if so how to code it. I tried making both a var and then just calling both but that syntax did not work.

Thanks!

------------------------------
Mike Tamoush
------------------------------
  • I think that you need three slices off this salami

    $URLONE
    & "&rdr=" & URLEncode($URLTWO)
    & URLEncode("&rdr=" & URLEncode($URLTHREE))
    & URLEncode(URLEncode("&rdr=" & URLEncode($URLFOUR)))
    & URLEncode(URLEncode(URLEncode("&rdr=" & URLEncode($URLFIVE))))
    & URLEncode(URLEncode(URLEncode(URLEncode("&rdr=" & URLEncode($URLSIX)))))
    & URLEncode(URLEncode(URLEncode(URLEncode(URLEncode("&rdr=" & URLEncode($URLSEVEN))))))

    The 1st var will be to Add 
    The 2nd var will be to Edit
    The 3rd will be to land the user somewhere, maybe display the record you were on. 

    So this

    $Add 
    & "&rdr=" & URLEncode($Edit)
    & URLEncode("&rdr=" & URLEncode($ReDisplayRecord))

    ------------------------------
    Mark Shnier (YQC)
    Quick Base Solution Provider
    Your Quick Base Coach
    http://QuickBaseCoach.com
    mark.shnier@gmail.com
    ------------------------------