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
On 3/7/2020 下午2: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: 3/7/2020 下午1:57
Seen: 1624 times
Last updated: 22/8/2020 下午3:40