Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

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

Recommended Posts

Posted

I have an employee database that shows records for three different types of employees. I'm trying to create a script that shows a list of each employee type on different layouts. Scripts are not my strong point and any help would be greatly appreciated.

Posted

I'm trying to create a script that shows a list of each employee type on different layouts.

Try:


If [ IsEmpty ( Get ( ScriptParameter ) ) ] 

Show All Records 

Else 

Enter Find Mode [  ] 

Set Field [ Employees::Type ; Get ( ScriptParameter ) ] 

Perform Find [  ] 

End If 

Set each layout to perform this script OnLayoutEnter, with the appropriate type as the script parameter.

Note that this is necessary only if you have different layout requirements for each type e.g. type-specific fields. Otherwise you could just perform a find within the same layout.

This topic is 5160 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.