AnsweredAssumed Answered

Go to related record

Question asked by tays01s on Feb 20, 2017
Latest reply on Feb 22, 2017 by tays01s

I've script where its 2nd part if it finds no records, it should make one. Instead, Data Viewer indicates it as finding 6 User records. I'd used this script in a very similar solution without problem, but this appears not be be moving it's focus off the User layout/table. Any obvious checks I should make?

Go to Layout [ “Users” (Users) ]

Enter Find Mode [ ]
Set Field [ Users::Email_check; "==" & Quote ($EmailFind) ]

Set Error Capture [ On ]
Perform Find [ ]
If [ Get(FoundCount)=0 //safer test than 'is empty' ]

New Record/Request

End If

 

Go to Related Record [ From table: “Licenses”; Using layout: “Licenses” (Licenses) ] [ Show only related records ]

Enter Find Mode [ ]

Perform Find [ ]
If [ Get(FoundCount)=0 ]

New Record/Request

End If
Go to Layout
[ “Users” (Users) ]

Outcomes