NamedSets

NamedSets

Welcome to our Knowledge Base

Documentation | Blog | Demos | Support

< All Topics
Print

NamedSets

Defines named sets. A Named Set is a programming object that identifies the components of a set that is used regularly in an application.  Named sets reduce the amount of code needed to run your application.  For example, if you are creating a database with an Customers Entity, you may want to have a set called “sMyCustomers”.  Find all Customers -> sMyCustomers.  So now that you have an Object called sMyCustomers, you can reference it anywhere if you program by calling the set.  If you add a new Customers record, you will have to add the new record to the set like this:

Find all Customers -> sMyCustomers
Add 1 Customers let Name = ... (include all of your customer fields) -> sAdded
Find sMyCustomers UNION sAdded -> sMyCustomers

This is a fast and simple way of updating the Named Set sMyCustomers without having to query the entire Entity again.

Establishing a Named Set

Call up the Zim IDE, select NAMED SETS from the DataBases menu, and use the tools of the Zim IDE Development to define the desired set.

Creation of Named Set step by step:

Was this article helpful?
5 out of 5 stars

1 rating

5 Stars 100%
4 Stars 0%
3 Stars 0%
2 Stars 0%
1 Stars 0%
5
How can we improve this article?
Please submit the reason for your vote so that we can improve the article.

Leave a Reply

Your email address will not be published. Required fields are marked *

en_CAEnglish