Welcome!

This community is for professionals and enthusiasts of the Genio platform.
Share your questions and challenges, and help your partners!

0

0
Sonia Fernandes
Ligar 02/11/22, 15:14

You could use the pattern Prefix to be Unique. This pattern will create a identifier unique according the Prefix to be unique field.

If you have a sequential number in a child table, you could use the same number according to the father table.

In my example I have a Subject with different topics. Each topic has a number, but i want my topic has a unique number in each subject, so:

Subject 1

  1. Topic 1

  2. Topic 2

  3. Topic 3

Subject 2

  1. Topic 1

  2. Topic 2

  3. Topic 3


In your case, you could apply to the ORDER field the Unique Constraint, as well the CODEMPRE in the Prefix to be unique field.

  • Flag

It works...

Thank you, Sónia :)

Andre Marques
ativo 02/11/22, 15:37

Keep Informed

About the Community

This platform is for beginners and experts willing to share their Genio knowledge. It's not a forum to discuss ideas, but a knowledge base of questions and their answers. Read Guidelines

Question tools

45 follower(s)

Stats

Asked: 29/10/22, 19:11
Seen: 1130 times
Last updated: 02/11/22, 15:14