I have a basic table on a form. The table has a row with a text label (“Document”) in one column. In the next column I have a Rich Text field called “Body”. I have hidden the entire row if the Rich Text field is empty by using @Attachments != 0 in the Hide/When formula.
I have an action button labeled “Attach A File” with the following code:
@Command([EditGotoField]; “Body”);
@Command([EditInsertFileAttachment]);
@Command([ViewRefreshFields]);
The problem is the EditGotoField doesn’t work when the field is hidden. So, for the time being I’ve hidden the label but have unhidden the field but I don’t like the look of the hinkies on the form. Any ideas?