Change page tab caption and tab order for related tables

5167
8
04-02-2012 06:24 AM
Almarde_Ronde
New Contributor
Dear Forum,

I have a feature layer with related tables. On the layer editform these tables have auto-generated page tabs. These page tabs are always listed last, and have a caption that reflects the related table name in full capitals. Is it possible to change the caption displayed on the tab (to make it more user friendly), and change the order of the tabs?

Many thanks in advance!
Tags (3)
0 Kudos
8 Replies
TimHopper
Occasional Contributor III
Almar,

Check out this thread where I discuss how you can reorder the pages within an edit form.  As far as renaming them, in ArcPad Studio, open the edit form, go to the page properties of the current page, and change the name.
0 Kudos
Almarde_Ronde
New Contributor
Dear Tim,

Thanks for your reply. The post you refer to deals with the <Pages> element of the Editform. I am interested in changing the name for the page tabs that are generated for related tables. I believe these page tabs are listed as <TableForm> elements within the <Forms> section of the Layer Definition. Indeed, by cutting and pasting in Studio you can change the order of Pages and TableForm in Studio, but this doesn't have an effect in ArcPad? Also, renaming the TableForm caption property in Studio does not change its Page tab caption in ArcPad? - Almar.
0 Kudos
DeniseKing
Esri Regular Contributor
Almar,

The TABLEFORM element in an Edit form in ArcPad corresponds with the name of the related tables. Unfortunately the documentation for TABLEFORM is missing from ArcPad Studio 10 Help and has been logged as NIM079578; Add documentation for TABLEFORM element to ArcPad Studio Help. However the ArcPad Team has provided information on the  element:

Forms for related tables are defined with a new <TABLEFORM> element.

The <LISTFORM> allows the list view of related table rows to be customized.
A <LISTVIEW> is a child of the <TABLEFORM> and supports the following attributes :

<LISTVIEW visible="true|false">

- visible : defines if the related table rows for the speificied table wil be availble to the user or not.

The <LISTVIEW> must contain one or more <COLUMN> definitions.
The <COLUMN> definitions define which columns from the related table are shown in the list view.

<LISTVIEW field="..." visible="true|false" caption="...." width="..."/>

- field : The column name in the related table.
- visible : Defines if the column is visible or not (default = "true")
- caption : The title form the column in the list view. Default is name of field.
- width : Width of column in pixels. Default is 50.

Example of Lights <TABLEFORM> in Riverside sample data :
[ATTACH=CONFIG]13201[/ATTACH]:

<EDITFORM ....>
<PAGE>
...controls....
</PAGE>

... other PAGE definitions ....

<TABLEFORM name="Lights" caption="Lights" width="130" height="130">
<PAGE name="PAGE1" caption="Page 1">
<LABEL name="LABEL1" x="1" y="2" width="43" height="12" caption="Type" tooltip="" border="false"/>
<EDIT name="TYPE" x="45" y="1" width="74" height="12" defaultvalue="" tooltip="" tabstop="true" border="true" field="TYPE"/>

<LABEL name="LABEL2" x="1" y="16" width="43" height="14" caption="Installdate" tooltip="" border="false"/>
<DATETIME name="INSTALLDATE" x="45" y="17" width="75" height="14" defaultvalue="" tooltip="" tabstop="true" border="true" field="INSTALLDATE"/>
<LABEL name="LABEL3" x="1" y="32" width="43" height="12" caption="LightID" tooltip="" border="false"/>
<EDIT name="LIGHTID" x="45" y="32" width="74" height="12" defaultvalue="" tooltip="" tabstop="true" border="true" field="LIGHTID"/>
</PAGE>
<LISTVIEW visible="true">
<COLUMN field="PoleID" visible="false" caption="PoleID" width="50"/>
<COLUMN field="Type" visible="true" caption="Type" width="100"/>
<COLUMN field="InstallDate" visible="false" caption="Installed" width="50"/>
<COLUMN field="LightID" visible="true" caption="ID" width="50"/>
</LISTVIEW>
</TABLEFORM>

</EDITFORM>

Hoping this information is helpful,
Denise
0 Kudos
TimHopper
Occasional Contributor III
Almar,

The changes you make to the pages within the tableform should definitely be seen in ArcPad.  Are you making the changes to the axf file and then immediately opening it in ArcPad?  If you are, something strange is going on here, there shouldn't be any reason why the editform or tableform look one way in Studio and a different way in ArcPad.

If you're checking out additional data afterwards, are you navigating to the customized axf during the checkout process from ArcMap?

Have you tested this workflow with a new feature class created from scratch?
0 Kudos
Almarde_Ronde
New Contributor
Just to clarify things a bit further, i attached a screenshot from Studio and ArcPad. This is a standard export, edits to page caption made straight after the export. I would like to change the text of the tab "SECTIONSO". It currently reflects the name of the related table. I believe this is not possible at the moment.... Thanks for all the replies.
0 Kudos
DeniseKing
Esri Regular Contributor
Almar,

Looks like you have found an issue with the 'caption' attribute for TABLEFORM, but I want to dig into it further. Hope to update you via Forums in next day or so. Thank you for bringing this to our attention.

Denise
0 Kudos
ErikDanielson1
New Contributor
Any updates or workarounds for this yet??  I get that changing the tab order is not an option, but at least changing the caption?

thanks

Erik
0 Kudos
MikeRadko
New Contributor III
Any progress on updating the tab caption attribute for the TABLEFORM?  I would really like to change the names of the related tables as they appear in the form.

Mike
0 Kudos