Anveo Mobile App / Anveo Script Documentation / Anveo Page and Field Focus Handling / Page('GOTOREC'…) and Page('GOTOFIELD'...)

Page('GOTOREC'…) and Page('GOTOFIELD'...)

Use the Page('GOTOREC'…) command to set a focus to a record and field. Use the Page('GOTOFIELD'...) command to set the focus on a specific field

PAGE('GOTOREC', 
     newRecord, 
     FieldName);

PAGE('GOTOFIELD', 
     FieldName);

example:
CreateNewComment(newComment);
PAGE('RELOAD');
PAGE('GOTOREC', 
     newComment, 
     '6');

PAGE('GOTOFIELD',
     '3');

The Page('GOTOREC'…) command is only available in editable list pages.