12 Replies Latest reply on May 15, 2013 11:15 PM by DannyLee

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

    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