Retrieve all the fields from one view
let's say I have a view A with fields 1,2 and 3, and field 3 is a lookup field for a view B with field 4,5,6,7,8 and 9.
So, image you are going to add a new record for view A. And in field 3, which is a lookup field, you will select one of the record for view B right?
I will show all the field of the select item (from view B), so the user can be sure that he is choosing the correct field. I am getting all the info from the select item and showing it in a note field into the form. But I am showing the fields 4,5,6,7,8 and 9 one by one, with a code similar to:
info viewB.field4;
info viewB.field5;
info viewB.field6;
info viewB.field7;
info viewB.field8;
info viewB.field8;
I was wondering if there is a function that will get all the field of one view. Is there a function like viewB.getAllFields() or even viewB.getAllFieldsNames(). Or can I create loop like:
for each field a in recordB
info a.fieldName;
info a.fieldContent;
is something like this possible?