Forum Discussion
MCFNeil
9 years agoQrew Captain
you need to have the fid of the [Related Parent] so the [Record ID#] can be written to that field in the new form.
You might have deleted something when you modified the button, but here is a clean example.
where fid_8 is the field ID on the NewItem table called [Related XXXXXX]
You might have deleted something when you modified the button, but here is a clean example.
URLRoot() & "db/" & [_DBID_NEWITEMS] & "?a=API_GenAddRecordForm&_fid_8=" & URLEncode ([Record ID#])& "&_fid_32=" & URLEncode ("Daily Cost")& "&z=" & Rurl()
where fid_8 is the field ID on the NewItem table called [Related XXXXXX]