2 Replies Latest reply on Jan 17, 2011 12:27 PM by BERGSTEN

    Summary of Account Script Help

    BERGSTEN

      Title

      Summary of Account Script Help

      Post

      I have the an Invoice table and a contact table.

      On the contact table, I'd like a button to execute a script finding me every Invoice that's status is "OUTSTANDING"

      I have tried the following script, but all it does it find all outstanding invoices based on all companies with outstandings and prints the first or "current record" in the set.

      Go To Layout ["Invoices" (Invoices)]

      Perform Find [Restore] *//This finds the term "OUTSTANDING" in the Payment Status field//*

      Go To Layout ["Account_Summary" (Company_List)]

      Print[]

      Go To Layout ["original layout"]

      I can't seem to figure out how to find "OUTSTANDING" and any given company, or the company I was looking at in the Company_List table when the button is pushed.

      Thanks!