Skip to main content
Question

Button that adds record #2 from record #1 in same table ... but returning to record #1 after save.

  • September 5, 2024
  • 0 replies
  • 208 views

GeorgeBramhall2
Forum|alt.badge.img+11

After save, I want to stay on Record # 2 , not return to Record #1 which is what's happening now with code below.

Here is my code (I am pre-populating some values in Record #2 from Record #1). The button resides and is clicked in Record # 1.

URLRoot() & "db/" & [_Table Name] & "?a=API_GenAddRecordForm&_fid_265=" & URLEncode ([Costing Assigned To])
&  "&_fid_268="&URLEncode([Pricing Assigned To])

Note: there is no redirect in my code.

This topic has been closed for replies.

Forum|alt.badge.img+15
  • Qrew Cadet
  • September 5, 2024

George, this is a Formula URL field?  That is the full content?


GeorgeBramhall2
Forum|alt.badge.img+11

updated Google Link I am using Chrome...only one I have.


Forum|alt.badge.img+6

I figured it out. Instead of selecting open on same page in button, I selected open in new window and now when we save we stay on the same record.  Sometimes we need to take a break from a challenge and start fresh later.