Hi,
Hello to all.
I have a document with a tabbed table. I have designed the tabbed table in the following manner-
Their is an array of images with hotspots corresponding to each tab in the tabbed table. Each tab is give a row id in the table properties as Tab1, tab2… I have two computed for display fields viz. $TabbedTableId and $TabField. The hotspot of theimage has the code to set the value of the $TabField to the row id of the corresponding tab for example when I click the image hotspot corresponding to tab1 it sets the value of the $TabField to “Tab1” and the value of the $TabbedTableId field to “Tab1”. in this way I acheive the clicking of the image to show the particular tab through hide when formulas.
This document has some persons in the Authors field and some in the Readers field.
Now, the above works fine for a person in the Authors field. He can pass through the different tabs in the tabbed table.
But when the Reader of the document opens the document and clicks the respective image to switch the tabs it prompts an error: Cannot execute this command.
How should i make this work for the reader. PLEASE HELP.
FYI:
The formula in the hotspot image is as follows:
FIELD $LawSuit:= “Tab1”; '// Lawsuit is the tabbed table id
FIELD TabField:= “Tab1”; '// Tab1 is the Row Tag given to the first tab
@Command([RefreshHideFormulas]);
@Command([ViewRefreshFields])