AnsweredAssumed Answered

Scripting  Find a record if not existing create a new one using data from find

Question asked by DannyLee on May 13, 2013
Latest reply on May 15, 2013 by DannyLee

Title

Scripting  Find a record if not existing create a new one using data from find

Post

     I am really new to the scripting side I want a button that has a script attached:

     commit the record , go to request record , Find , perform find, if no record exists,copy data(entered), go to new record,paste data, go to next field, if record exists show all data to allow for edit

     I have tried data capture(on) and lasterror...... etc...4 hours of mucking about!!!

     I cannot get the syntax right at all

      

Outcomes