Forum Discussion
MCFNeil
8 years agoQrew Captain
You can do it with a formula url button. Either using the API_AddRecord or API_GenAddRecordForm.
You will have to define the values that you want to copy, but that is pretty straight forward. An example is what appears in any of your default "add" buttons.
Where the line:
You will have to define the values that you want to copy, but that is pretty straight forward. An example is what appears in any of your default "add" buttons.
URLRoot() & "db/" & [_DBID_MESSAGES] & "?a=API_GenAddRecordForm&_fid_53=" & URLEncode ([Record ID#])& "&z=" & Rurl()
Where the line:
&_fid_53=" & URLEncode ([Record ID#])& "Is the information that is being written to the new form.
AyoubSalhi
8 years agoQrew Trainee
I couldn't make it work, I used API_GenAddRecordForm
URLRoot() & "db/" & [_DBID_PURCHASE_ORDERS] & "?a=API_GenAddRecordForm&_fid_6=" & URLEncode ([Record ID#])& "&_fid_29=" & URLEncode ([Vendor])& "&z=" & Rurl()