np,
just did this yesterday.
Make a button somewhere in your app which does what you want.
for example here is a button to populate a field with fixed data.
URLRoot() & "db/" & [_DBID_PSYCHOLOGIST_VISITS] & "?a=API_GenAddRecordForm"
& "&_fid_11=Psychologist"
& "&_fid_12= & URLEncode("Visit is Approved")
& "&_fid_13= & URLEncode("yada yada yada")
Then instead of having it be a button appearance with Link text, leave the Link Text blank and it will expose the code on the record that the button is on. Copy that code onto your clipboard and go to the dashboard and just make a button of tape URL and paste that in.
So that's all working of course you can remove that button from your example record form because the only purpose of the button to generate the code.
------------------------------
Mark Shnier (YQC)
Quick Base Solution Provider
Your Quick Base Coach
http://QuickBaseCoach.commark.shnier@gmail.com
------------------------------