Forum Discussion
19 Replies
Sort By
- QuickBaseCoachDQrew CaptainThis is corrected code
var text URLONE = URLRoot() & "db/" & Dbid()
& "?act=API_EditRecord&rid=" & [RecordID#]
& "&_fid_155=" & URLEncode("Hello");
The middle line in your code had an underscore. - ROBERTSACHSQrew CadetGreat. Now that I got that to work.
I figure that need to define a var which is the concat of the Today() and the current text value of hte field of interest, and then edit the record to set to field to that value. - QuickBaseCoachDQrew CaptainRight, like
var EventAndType = ToText(Today()) & " some other Text�;
Or maybe
var EventAndType = ToText(Today()) & " � & [Event Type Field]; - ROBERTSACHSQrew CadetI'm using the latter form.
Last question: I need a carriage return after ToText(Today()). What is the coding for that?- ROBERTSACHSQrew CadetI figured it out. Thanks.
- ROBERTSACHSQrew Cadetactually, I didn't. I thought I could use "%0D%0A" but that does not work.
- QuickBaseCoachDQrew CaptainThe Carriage Return character is backslash n
So
"\n"
This will go to edit mode,
var text URLTWO = URLRoot() & "db/" & Dbid()
& "?a=er&rid=" & ToText([RecordID#]);
- ROBERTSACHSQrew CadetAh: and I need to put the record into edit mode.