AnsweredAssumed Answered

Popup value changes after find - newbie

Question asked by pgrehan on Sep 29, 2012
Latest reply on Sep 29, 2012 by pgrehan

I have a popup on a list layout that allows the user to select whether to view "Active" or "Inactive" clients. I use an OnObjectModify script trigger to the script below.

 

My problem is that after the script performs the find (correctly), the value of the popup menu changes to the a different value. For example, if I select "Active" clients, the find displays only active clients, but the popup display changes to "inactive". The reverse occurs when select "inactive."

 

I am baffled. What am I missing?

 

Thanks from a newbie

 

Patrick

 

-----

 

 

Set Error Capture [ On ]

Set Variable [ $$FILTER; Value:Clients::popup Filter ] If [ $$FILTER = "Active" ]

Enter Find Mode [ ]
Perform Find [ Specified Find Requests: Find Records; Criteria: Clients::Active: “Active” ]

[ Restore ]

Else If [ $$FILTER = "Inactive" ]

Enter Find Mode [ ]

Perform Find [ Specified Find Requests: Find Records; Criteria: Clients::Active: “Inactive” ] [ Restore ]

End If

 

Outcomes