Select to view content in your preferred language

Issue with Cut sample and AXF files

725
1
07-21-2011 12:06 AM
JackGreen
Emerging Contributor
Hi,

I am having an issue with the Cut sample that comes with ArcPad 8 using AXF files created with Get Data for ArcPAD. It works as expected in Arcpad, taking a line and cutting in 2 and applies the attributes and deletes the original line, perfect!
The issue comes if you try and check the data back in, it recognises the deletion but flags the new lines as modifications rather than new features, the result is when you check the data in it deletes the line but doesn't add the 2 new ones.
Has anyone got a workaround for this, I have tested the following setups without success.

ArcGIS 9.3.1 > ArcPad 8
ArcGIS 10 > ArcPad 10

Cheers,
Jack
Tags (3)
0 Kudos
1 Reply
JackGreen
Emerging Contributor
Managed to resolve this one myself. The offending line was in the AddFeature() function of the sample. Instead of using the record set to add the feature you need to use the map. In VB looks a bit like this:

Map.AddFeature feature,false

instead of

RS.AddNew(feature)
0 Kudos