Select to view content in your preferred language

Show related tables as part of selection query

2217
5
08-22-2010 07:29 AM
ilanazaria
Deactivated User
Hi,
I try to build a tool that gives information on a selected feature and it's related table?
Is it possible to do programatically with arcobjects?
0 Kudos
5 Replies
AndrewMay
Emerging Contributor
Yes, it's possible.  What information are you trying to get about the feature and its table?   And what language are you using vba/.net/java?
0 Kudos
DanaC
by
Emerging Contributor
I don't know if you two already resolved this issue but I think I have a similar problem. I would like to access the related table form with a custom button instead of going to the related table tab and then clicking the blue plus icon (the latter can be seen in attachment "arcpadrelatedtables.JPG").
I know that different pages within the editform can be accessed with vb code such as:

layer.forms("editform").pages("page2").activate

Looking at the axf file in ArcPad Studio, it appears that "TableForm" is a child element of "EditForm" and that "TableForm" itself has "Page" child elements. (see attachment "arcpadstudiorelatedtables.JPG") Does anyone know if there is an means within the object model to access this form such as:

layer.forms("editform").TABLEFORMS("Lights").show

or

layer.forms("editform").TABLEFORMS("Lights").pages("Lights").activate

?
0 Kudos
AdamCottrell
Frequent Contributor
I'm using VBA to create a custom identify tool that selects a point and populates the attributes in a custom form.  I have accomplished this using the code from the thread listed below.  I have several tables that relate to this point feature, as well as pictures, based on certain fields in the attribute table.  I would like to add the related tables and also an image that is associated with that point.

http://forums.esri.com/thread.asp?c=93&f=993&t=142426
0 Kudos
DzmitryVashkevich
New Contributor

I understand that 12 years have passed, but maybe you steel have the code of your custom identify tool and can share it?

0 Kudos
JamesNunn
Deactivated User
I'm using VBA to create a custom identify tool that selects a point and populates the attributes in a custom form.  I have accomplished this using the code from the thread listed below.  I have several tables that relate to this point feature, as well as pictures, based on certain fields in the attribute table.  I would like to add the related tables and also an image that is associated with that point.

http://forums.esri.com/thread.asp?c=93&f=993&t=142426



Hi, I'm also looking at accessing records in a related table, but have found very little info. This thread [HTML]http://forums.arcgis.com/threads/22638-Help-on-lt-TABLEFORM-gt-element[/HTML] has a small amount of information on accessing form controls, but nothing about the recordset. Is the documentation bug mentioned fixed?
0 Kudos