Jump to content

Using omit record script step


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

Recommended Posts

I am not really good with scripting.  I want a situation where by contacts with status as inactive are always omitted on entering the contacts layout.   My challenge is to script this using the omit record script step.    

 

Secondly, another approach I want to implement is to have a check box field called HIDE  which when checked, immediately removes (or hides but not deleted)  that contact from the list, assuming I am on the contacts list layout...   I don't really know if I have explained my question well...  Thanks 

Link to comment
Share on other sites

9 minutes ago, shevyshevy said:

I want a situation where by contacts with status as inactive are always omitted on entering the contacts layout.

Do you want to omit them from current found set (i.e. do Constrain Found Set), or just show all active records in the entire table (i.e. Perform Find)?

 

9 minutes ago, shevyshevy said:

have a check box field called HIDE  which when checked, immediately removes (or hides but not deleted)  that contact from the list

A button defined to Omit Record will do that. I don't think you want to modify a field for this purpose - esp. as that would modify it for all users.

Edited by comment
Link to comment
Share on other sites

Thanks comment for your prompt reply.. I actually want to remove them from current found set..  

 

As for the check box approach, please how do I script it... .?

Thanks comment for your prompt reply.. I actually want to remove them from current found set..  

 

As for the check box approach, please how do I script it... .?

Link to comment
Share on other sites

1 minute ago, shevyshevy said:

I actually want to remove them from current found set.

Well, then use something like:

Enter Find Mode [  ] 
Set Field [ Contacts::Status; "Inactive" ] 
Omit Record 
Constrain Found Set [  ] 

 

7 minutes ago, shevyshevy said:

As for the check box approach, please how do I script it... .?

I don't know how to respond to this.

  • Like 1
Link to comment
Share on other sites

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