Jump to content

script triggered find on calculated key


This topic is 5439 days old. Please don't post here. Open a new topic instead.

Recommended Posts

I'm so delighted with the simplicity of implementing a mac like find field [find_field] via the "onObjectModify" trigger which invokes a find script [peo_search] ... but when trying to do a find on a calculated field [peo_multikey] calculated as [ fname & lname & company & stnum & stname & city]

the find doesn't reveal all calculated records that contain find string ?

data viewer shows string exists within calculation for each record but it seems to miss some but not all?

script > peo_search ;

Set Error Capture [ On ]

If [ (IsEmpty ( find_field)) ]

Show All Records

Go to Record/Request/Page

[ First ]

Sort Records [ Specified Sort Order:lname; ascending ]

[ Restore; No dialog ]

Exit Script [ ]

End If

Enter Find Mode [ ]

Set Field [peo_multikey; find_field]

Perform Find [ ]

Go to Field [find_field]

Link to comment
Share on other sites

This topic is 5439 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

By using this site, you agree to our Terms of Use.