QuickbaseKinnec
4 years agoQrew Member
Copy Record, open new record in Edit
Hey QB Community. I'm looking for help with a Formula URL. The use case is:
1. Open Record
2. Click Copy Record Formula URL button
3. Open new record in Edit
The first formula below copies the record but then opens the old record, because it's reading that record's Record ID#.
The second formula, I tried adding a display record before the redirect to edit but then it only copies and displays the new copy.
Number One - Copies record, opens source record in Edit
Number Two - Copies record, opens new record in View
------------------------------
Heather Bryant
------------------------------
1. Open Record
2. Click Copy Record Formula URL button
3. Open new record in Edit
The first formula below copies the record but then opens the old record, because it's reading that record's Record ID#.
The second formula, I tried adding a display record before the redirect to edit but then it only copies and displays the new copy.
Number One - Copies record, opens source record in Edit
URLRoot() & "db/" & Dbid() & "?act=API_AddRecord&apptoken=111&_fid_1=" & URLEncode ([Related Field])
& "&_fid_40=" & [Field01]
& "&rdr=" &
URLEncode(URLRoot() & "db/" & Dbid() &
"?a=er&rid=" & [Record ID#])
Number Two - Copies record, opens new record in View
URLRoot() & "db/" & Dbid() & "?act=API_AddRecord&apptoken=111&_fid_1=" & URLEncode ([Related Field])
& "&_fid_40=" & [Field01]
& "&disprec=1"
& "&rdr=" &
URLEncode(URLRoot() & "db/" & Dbid() &
"?a=er&rid=" & [Record ID#])
------------------------------
Heather Bryant
------------------------------