Forum Discussion
MarkShnier__You
3 years agoQrew Legend
When you push the button are you in edit mode? And when pushed you want to save and continue in edit mode?
------------------------------
Mark Shnier (YQC)
mark.shnier@gmail.com
------------------------------
------------------------------
Mark Shnier (YQC)
mark.shnier@gmail.com
------------------------------
- OliverKenfield3 years agoQrew MemberHi Mark,
When pushed, it does go to the record in edit mode yes. When pushed I want to be in Edit mode, so I can enter a quantity (in a qty field) and then save and go back to the record I was on.- MarkShnier__You3 years agoQrew LegendThis would edit the record you are on and then land you in edit mode on the same record.
var text SetValues =
URLRoot() & "db/" & Dbid() & "?a=API_EditRecord&rid="
& URLEncode([Record ID#])
&_fid_119=" & URLEncode("Change Qty Requested") //Change Order Status
& "&_fid_110=1" //Changed Item checkbox
& "&_fid_111=" & URLEncode("Waiting on Approval") //Approval Status
& "&_fid_109=" & URLEncode("Waiting on Approval") // Change Status
& "&_fid_114=" & URLEncode([Qty]) ;// Change Previous QTY
var text EditMode = URLRoot() & "db/" & Dbid() & "?a=er&dfid=2&rid="
& URLEncode([Record ID#]);
$SetValues
& &rdr=" & URLEncode($EditMode)
------------------------------
Mark Shnier (YQC)
mark.shnier@gmail.com
------------------------------- OliverKenfield3 years agoQrew MemberHi Mark, thank you much! That works mostly. Is there a way where it doesn't actually save it until the person hit's Save? Right now it updates the fields, and then uses Edit mode. Which is great, it just doesn't allow a person to make a mistake and back out without saving.