Welcome!

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

3

2
Maksym Hrytsko
Ligar 03/07/20, 14:10

Hi,
Here is an example of the possible code:

var evenp = CSGenioAevenp.search(UserContext.Current.PersistentSupport, "KEY_VALUE_TO_SEARCH", UserContext.Current.User);

// HumanKeyName => contains list of human key fields of the table. ex: desginac,layrname

string humanKeyInfo = evenp.Information.HumanKeyName; //string humanKeyFields = CSGenioAevenp.GetInformation().HumanKeyName;


string [] humanKeyFields = humanKeyInfo.Split(',');

// var evenp = new CSGenioAevenp(UserContext.Current.User); evenp.QPrimaryKey = "KEY_VALUE_TO_SEARCH"; evenp.getFields(humanKeyFields, UserContext.Current.PersistentSupport); // <= alternative to select form DB just human key fields values


foreach (var humanKeyField in humanKeyFields)

    /* result += */ evenp.returnValueField("evenp." + humanKeyField);


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

20 follower(s)

Stats

Asked: 03/07/20, 13:57
Seen: 1678 times
Last updated: 22/08/20, 15:40