AnsweredAssumed Answered

Find Year Script

Question asked by Scorpion167 on Mar 9, 2017
Latest reply on Mar 9, 2017 by beverly

I'm trying to script a find for the previous year.


Here's what I have so far;


Go to Layout[ "Purchases" ( Purchase ) ]

Enter Find Mode [ ]

Set field [Purchase::PurchaseYr ; Purchase::PreviousPurchaseYr ]

Perform Find [ ]


PurchaseYr, is a Date filed. /Puchase table

PreviousPurchaseYr, is a Calculation field "Year( Get( CurrentDate) ) -1   /Puchase table


When I run this script I get an error message; "The provided find criteria is not valid. Enter a valid request before proceeding."