AnsweredAssumed Answered

Scripting A Complex Find

Question asked by MikeCrumley on Apr 23, 2015
Latest reply on Apr 23, 2015 by MikeCrumley


Scripting A Complex Find


Hi there,

I am trying to generate a script that goes to a different layout and enters criteria from two different value lists in another layout. I know this might sound weird, but this is what I have tried:


Set Variable [ $Name; Value:Time::AR Name ]

Set Variable [ $Date; Value:Time::AR Date ]

Go To Layout [ "AbsenceReport" (AbsenceReport) ]

Enter Find Mode []

Set Field [ AbsenceReport::Name ID; $Name ]

Set Field [ AbsenceReport::First Date Absent; $Date ]

Perform Find []


Time::AR Name and Time::AR Date are both value lists, and I'd like the search criteria to be from the "Current Record" or "Last Viewed Record" in the Time layout. Is this even possible?

I'm an intermediate user, so I know that I'm definitely getting something wrong here. I've been toiling over this for the past couple of days, and I can't seem to figure it out. Any help is greatly appreciated! Thanks in advance!