PDA

View Full Version : Updating a Pin Field



jasper7
10-17-2011, 05:29 PM
OK

I have a Pinset imported with one Field containing a Radius for the a Circle around the PushPin by Code.



I read this Field Radius then draw the circle in code.

The user can then manually change the radius of the circle.

What I need to do is update the Pushpin field with this new value.


Can I Do this directly on the Pushpin? (I think not)

or

Do I have to make some sort of Array/Dataset (Copy of all Pins and Fields), update this field in the Array and then when ready export the Array back out, overwriting the original data.

Or

do I just directly update the orignal data in the import file.

Or

????????????
Any guidance would be most welcomed.

Any pointers on Code for modifying external Fields in Excel or Access would help to

Thanks

Steve

Winwaed
10-18-2011, 07:56 AM
It isn't clear quite what you are doing, but pushpin data fields are readonly - they can only be set by the import wizards.

The exceptions are the object-level fields such as pushpin symbol, name, and "Note".

Richard

jasper7
10-18-2011, 04:44 PM
Richard

Just as I thought - Read Only

I need to then look at copying the all Pin Data Fields then into either an Array or a dataset (not sure which)

Then use the Array/Dataset to do the updates on, and export the Array once all updates are completed.

Hmm searched on this no code examples on here

Steve

Eric Frost
10-18-2011, 09:03 PM
I've become enamored with the VBA Dictionary object, it's so fast and lean.

Try it out. Some of the advantages of popular and sexy languages melt away in the face of the all-powerful Dictionary object! (exaggerating)

Eric