Forum Discussion
EverettPatterso
6 years agoQrew Captain
Therefore, every time I click this button, it change the field within the record to "Plus 1".
Can you clarify? It sounds like you already track it in this field.
------------------------------
Everett Patterson
------------------------------
EriksonTsang
6 years agoQrew Cadet
I do have a numeric field to track; however, i'm not sure how to trigger that numeric field to change from 0 to 1, when i click that URL button once.. and then, later if i click the same button again, the numeric field will change from 1 to 2 within the record
------------------------------
Erikson Tsang
------------------------------
------------------------------
Erikson Tsang
------------------------------
- MarkShnier__You6 years ago
Qrew Legend
Can you post your existing code to run the import?
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.com
markshnier2@gmail.com
------------------------------- RyanStanford16 years agoQrew CaptainAgreed with Mark, need to see the code...
how I would implement this is to have some JavaScript to get the current value of the field, +1 to it, and update the field as a separate call that would happen at the same time as the import.
------------------------------
Ryan Stanford
------------------------------- EverettPatterso6 years agoQrew CaptainYes, but if you just want a simple, native solution you can use numeric field + formula URL
var number mynewvalue = [NumericTest] + 1; URLRoot() & "db/" & Dbid() & "?act=API_EditRecord&rid=" & [Record ID#] & "&_fid_15=" & URLEncode($mynewvalue)
------------------------------
Everett Patterson
------------------------------