Forum Discussion

ArchiveUser's avatar
ArchiveUser
Qrew Captain
8 years ago

Not returning to parent record

I have a parent table for POs and the button that adds a child record (Acct charge). But I can't get it to return to the PO record after I click "save & close" on the new acct charge record. What am I missing? This is my code:


URLRoot() & "db/bncigsm2t?a=API_GenAddRecordForm&_fid_3=" & URLEncode ([Record ID#]) &"&dfid=10" & "&z=" & Rurl()
  • So this part here 

    &_fid_3=" & URLEncode ([Record ID#])

    says to populate fid 3 with the Record ID# that you are sitting on (ie the Purchase Order Record ID#).  But that fid is not the correct one.  You need to look at your child table and change that to be the fid of the field for [Related Purchase Order]
  • I'm not really sure what the problem is.,  You may need to go to Support.  Can you post the URL that appears when you click the Add Charge button?