Select to view content in your preferred language

Help - Simple Code to Change Symbology

1141
3
Jump to solution
10-03-2012 05:22 PM
stuartcassin
Occasional Contributor
I'm trying to change the symbology of a point layer using the "onok" event in the form properties of an editform. Nothing fancy required, simply that the point is one colour when the project is started, once the operator opens an edit form for a point and then clicks "OK" to close it, the point changes colour.

I need a simple script to run the change but my scripting skills are poor - done plenty of online study but never use it enough for it to "stick" - so was hoping someone would have a script on file that I could import and modify.

Anyone able to offer help to the "script challenged"? 😄

Stuart Cassin
Tags (3)
0 Kudos
1 Solution

Accepted Solutions
klonwaldrip
New Contributor
I figured it out. I changed the symbology in ArcGIS Desktop to reflect a different color based on an "Inspected/Not Inspected" field, then exported it with the ArcPad tool.

View solution in original post

0 Kudos
3 Replies
ThaiTruong
Deactivated User
Stuart,

I have a simple suggestion for you!  You might want to create and extra field on your point layer called "Edited", for example.  It can be a short integer field to hole "1" or "0" to tell the point is edited or not.  Then re-classify the symbology base on that field.
0 = non edited
1 = edited

Then, with your "onok" event, calculate "Edited" = 1

Hope this helps
0 Kudos
klonwaldrip
New Contributor
Did you ever figure this out? I would like to change the color of pre-existing points and lines once they've been edited in the field. This would make it easier for anyone out in the field to know what they've edited and what they haven't.
0 Kudos
klonwaldrip
New Contributor
I figured it out. I changed the symbology in ArcGIS Desktop to reflect a different color based on an "Inspected/Not Inspected" field, then exported it with the ArcPad tool.
0 Kudos