HowTo:  Auto-populate a date/time field in ArcPad with automatically created data

相关信息
Article ID: 40914
Software:
ArcPad 8.0, 8.0.1, 8.0.2, 8.0.3, 8.0.4, 10, 10.0.1, 10.0.2, 10.0.3
ArcGIS - ArcEditor 9.3.1, 10
ArcGIS - ArcInfo 9.3.1, 10
ArcGIS - ArcView 9.3.1, 10
ArcGIS for Desktop Advanced 10.1
ArcGIS for Desktop Standard 10.1
ArcGIS for Desktop Basic 10.1
Platforms: N/A

问题描述
When using ArcPad, adding a date/time stamp in the attribute table of data can provide valuable information. This information can be collected without custom scripting. The instructions provided describe how to auto-populate a date/time field in ArcPad with automatically created data.
已邀请:

EsriSupport

赞同来自:

解决方案
Obtaining the automatically created date/time information from ArcPad.
  1. In ArcMap, check out the layer to AXF.
    For more information about checking out layers, see ArcGIS Resource Center: Get Data for ArcPad – 'The Check Out Process'.
  2. Before going to ArcPad and while still in ArcMap, open the attribute table of the feature class.
  3. Add a new Date field and name it 'AXF_TIMESTAMP'.
    The 'AXF_TIMESTAMP' field cannot be present when checking out to ArcPad because ArcPad will not execute if this field is present.
  4. Go to ArcPad and open the AXF created in Step 1.
  5. Start editing and add a feature. (There is no need to fill out any field values in the Edit Form unless required.)
  6. Check the AXF back into ArcMap and open the attribute table of the feature class.
    For more information about checking in layers, see ArcGIS Resource Center: Get Data from ArcPad – 'The Check In Process'.Notice the 'AXF_TIMESTAMP' field created after the checkout is automatically populated with date and time values.
    If a workflow requires that a layer be checked in and out multiple times, a few more steps are required because the 'AXF_TIMESTAMP' field cannot be present when checking back out to ArcPad. Steps 7-13 describe the the workflow required if the data will be checked out multiple times from a feature class.
  7. After checking in the data and viewing the auto-populated date and time information in the attribute table, create a new text field and name it 'DateCopy'.
  8. Perform a field calculation on the new field to copy the data from 'AXF_TIMESTAMP' into 'DateCopy'.
  9. Delete the 'AXF_TIMESTAMP' field and check out the data again.
  10. Re-create the 'AXF_TIMESTAMP' field in ArcMap, which is now empty.
  11. After making edits in the field, check the data back into ArcMap and open the attribute table of the feature class. Notice that only the newly created features have date and time information in their cells.
  12. Select all records that have date and time values in the 'AXF_TIMESTAMP' field and perform a field calculation on the 'DateCopy' field to copy the values from 'AXF_TIMESTAMP' again.
  13. Before checking this feature class back out for field editing again, repeat steps 3-7.


其它相关参考
  1. How To: Auto-populate a date/time field in ArcPad using an existing Date field


创建及修改时间
Created: 3/7/2013

Last Modified: 6/3/2014
原文链接
http://support.esri.com/en/kno ... 40914

要回复问题请先登录注册