HowTo:  Populate a date/time field with the current date/time in ArcPad

相关信息
Article ID: 41068
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, 10.2
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:
Windows XP, Server 2003, Vista, Server 2008, Windows 7, Windows 8, Server 2012, Server 2008 R2
Windows Mobile 6, 6.1, 6.5

问题描述
When using ArcPad, adding a date/time stamp in the attribute table provides valuable information. This information can be collected without custom scripting. The following instructions describe how to populate a date/time field in ArcPad.
已邀请:

易智瑞技术支持

赞同来自:

解决方案
  1. In ArcMap, navigate to the Table of Contents, right-click the layer and select Attribute Table.
  2. In the attribute table, go to Table Options and click Add Field.
  3. In the Add Field dialog box, click the Type drop-down arrow and select Date.
  4. On the ArcPad Data Manager toolbar, click the Get Data For ArcPad button to open the wizard. • If working with a geodatabase feature class, use the check out option called Check out for disconnected editing in ArcPad. • If working with a shapefile, use the check out option called Export as background data (to Shapefile) and select Make Editable.
    Geodatabase feature classes can support both date and time information in the date field, while shapefiles only support date information.
    For more information about checking out layers, see the following web help topics: Get Data for ArcPad – The Check Out Process and ArcGIS Resources - ArcPad Check Out 
  5. Launch ArcPad and open the APM file from the folder created in Step 4.
    Stand-alone shapefiles or AXF files, can be opened via Add Layers in ArcPad.
  6. Using either the Quick Capture toolbar or the Draw toolbar, create a new feature or modify an existing one. This displays the Edit form and the attribute values can then be edited.
  7. Click the Date_Time drop-down arrow, select the current date and time, and check the check box.
  8. Review the edits in ArcMap. • If working with an AXF file, use the Get Data From ArcPad tool to check the data back in and synchronize it with the original feature class. • If working with a shapefile, just add it to ArcMap. When the AXF file is checked back into the database in ArcMap, the feature collection's date and time is added to the date/time field.
    For more information about checking in edits, see the following web help topics Get Data from ArcPad – The Check In Process and ArcGIS Resources - ArcPad Check In.


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

Last Modified: 6/25/2013
原文链接
http://support.esri.com/en/kno ... 41068

要回复问题请先登录注册