+ Reply to Thread
Results 1 to 8 of 8

Thread: Change page tab caption and tab order for related tables

  1. #1
    Almar de Ronde
    Join Date
    May 2010
    Posts
    28
    Points
    0
    Answers Provided
    0


    0

    Default Change page tab caption and tab order for related tables

    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!

  2. #2
    Tim Hopper
    Join Date
    Dec 2009
    Posts
    415
    Points
    213
    Answers Provided
    40


    0

    Default Re: Change page tab caption and tab order for related tables

    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.
    Tim Hopper
    GIS Specialist
    Baxter & Woodman Consulting Engineers
    Esri Certified ArcGIS Desktop Professional

  3. #3
    Almar de Ronde
    Join Date
    May 2010
    Posts
    28
    Points
    0
    Answers Provided
    0


    0

    Default Re: Change page tab caption and tab order for related tables

    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.

  4. #4
    Denise King

    Join Date
    Oct 2009
    Posts
    433
    Points
    41
    Answers Provided
    8


    0

    Default Re: Change page tab caption and tab order for related tables

    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 :
    Click image for larger version

Name:	LightsTableForm.png
Views:	77
Size:	84.0 KB
ID:	13201:

    <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
    Denise King
    Apps/Mobile Development Technical Lead
    User Advocacy Group, Esri Support Services

  5. #5
    Tim Hopper
    Join Date
    Dec 2009
    Posts
    415
    Points
    213
    Answers Provided
    40


    0

    Default Re: Change page tab caption and tab order for related tables

    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?
    Tim Hopper
    GIS Specialist
    Baxter & Woodman Consulting Engineers
    Esri Certified ArcGIS Desktop Professional

  6. #6
    Almar de Ronde
    Join Date
    May 2010
    Posts
    28
    Points
    0
    Answers Provided
    0


    0

    Default Re: Change page tab caption and tab order for related tables

    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.
    Attached Thumbnails Attached Thumbnails Click image for larger version

Name:	CaptureStudio.PNG‎
Views:	83
Size:	24.5 KB
ID:	13207   Click image for larger version

Name:	CaptureArcPad.PNG‎
Views:	80
Size:	20.5 KB
ID:	13208  

  7. #7
    Denise King

    Join Date
    Oct 2009
    Posts
    433
    Points
    41
    Answers Provided
    8


    0

    Default Re: Change page tab caption and tab order for related tables

    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
    Denise King
    Apps/Mobile Development Technical Lead
    User Advocacy Group, Esri Support Services

  8. #8

    Join Date
    Mar 2013
    Posts
    1
    Points
    0
    Answers Provided
    0


    0

    Default Re: Change page tab caption and tab order for related tables

    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

+ Reply to Thread

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts