Welcome!
This community is for professionals and enthusiasts of the Genio platform.
Share your questions and challenges, and help your partners!
How to use Manual Code (Manwin) for the type OVERRQLIST?
I need to insert my manual code in Genio and, for that, i need to create the correct Manwin. The original code has this comment: // USE /[MANUAL SNI OVERRQLIST SELECHIS_${form_field.Farea}LIST]/, where SNI is the name of the database, OVERRQLIST should be the type of the Manwin and SELECHIS_${form_field.Farea}LIST should be the parameter of the Manwin.
Although i already tried to create a Manwin with the type and parameter stated above, the manual code does not appear in the generated solution.
SELEC is the name of the table and SELECHIS is the name of a form created from that same table.
I am also using MVC as the platform, which should be correct, since it works for all the other manual code. Could the parameter be the problem? If it is, how should I change it?
Hi,
If that ${form_field.Farea} is appearing in the final generated code then it shouldn't.
Something went wrong on the generation, and it's not recognizing the field as a list (from other table) correctly.
That should be automatically replaced by the name area of the field that represents the list in that form.
Example:
// USE /[MANUAL SNI OVERRQLIST SELECHIS_SOMELIST]/
In this case "SOMELIST" should be a field from another (related) table, so it becomes a list on your form.
Please check if the field that is representing the list is listed in your form as DB or DL (DB-List or Limited DB) and related to a table that your form's area is also related.
Hope it helps.
I think that your relational model might not be accurate: If it's not related, why do you want to select one record from that other table in this form? In order to do this, you have to place one field in the table that will keep that selection (and relation). Otherwise, how would the system know which one was selected when you entered a saved record of this form?
Keep Informed
About the Community
Question tools
Stats
Asked: 10/14/19, 6:00 AM |
Seen: 1637 times |
Last updated: 10/18/19, 8:17 AM |
The form has a "List button" that is used to list records from a table that is not related with the table of the form. I also tried to use this button to list tables that are related with the table of the form and the problem remained, the ${form_field.Farea} keeps appearing on the generated code. Could this be a problem with the button itself? Is there another way to create a button that lists another table (non related with the form table), manipulating the results of that same list?