Skip to main content
Question

Open record in edit mode and set fields

  • April 7, 2022
  • 0 replies
  • 47 views

Forum|alt.badge.img+20
If I want a button to open a record in edit mode, but also set fields, do I need to do this in two steps?

Edit Record API (?a=API_EditRecord") followed by simply opening the record? Can this be done in one step?

I feel like I have done this before but am forgetting.

------------------------------
Mike Tamoush
------------------------------

MarkShnierYou
Forum|alt.badge.img+24
because the URL ?a=er ... is not an API like API_GenAddRecordForm you cannot preload values when opening a record to edit.

You could actually do the edit API_EditRecord on the record and then land the user in edit mode, but the record will have been edited and saved before the form is opened.

------------------------------
Mark Shnier (YQC)
mark.shnier@gmail.com
------------------------------