# Event handler for save an editted polygon

**URL:** <https://community.thinkgeo.com/t/event-handler-for-save-an-editted-polygon/1497>\
**Category:** WinForms\
**Created:** [November 15, 2010, 4:29am UTC](https://community.thinkgeo.com/t/event-handler-for-save-an-editted-polygon/1497 "2010-11-15T04:29:49Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![franklin1](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/f/e9a140/32.png) [@franklin1](https://community.thinkgeo.com/u/franklin1)\
**Post date:** [November 15, 2010, 4:29am UTC](https://community.thinkgeo.com/t/event-handler-for-save-an-editted-polygon/1497/1 "2010-11-15T04:29:49Z")

</div>

Yale,

&nbsp;&nbsp;I&nbsp;am&nbsp;not&nbsp;so&nbsp;clear&nbsp;what&nbsp;sort&nbsp;of&nbsp;event&nbsp;handler&nbsp;can&nbsp;accomplish&nbsp;the&nbsp;purpose&nbsp;of&nbsp;saving&nbsp;a&nbsp;polygon&nbsp;which&nbsp;is&nbsp;modified&nbsp;by&nbsp;&nbsp;the&nbsp;Track-Shape&nbsp;button&nbsp;functionality.&nbsp;&nbsp;How&nbsp;will&nbsp;the&nbsp;desktop&nbsp;API&nbsp;detect&nbsp;the&nbsp;end&nbsp;of&nbsp;the&nbsp;editing&nbsp;process?

Thanks.

Franklin

---

<div class="post-metadata">

**Author:** ![ThinkGeo](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/thinkgeo/32/25029_2.png) [@ThinkGeo](https://community.thinkgeo.com/u/ThinkGeo)\
**Post date:** [November 15, 2010, 6:15am UTC](https://community.thinkgeo.com/t/event-handler-for-save-an-editted-polygon/1497/2 "2010-11-15T06:15:50Z")

</div>

Franklin,

Thanks&nbsp;for&nbsp;your&nbsp;post&nbsp;and&nbsp;questions.  
&nbsp;  
We&nbsp;have&nbsp;several&nbsp;types&nbsp;of&nbsp;edit&nbsp;operations&nbsp;in&nbsp;our&nbsp;edit&nbsp;system,&nbsp;that&nbsp;is&nbsp;Drag/Resize/Rotate/Vertex(Add,Remove,Move),&nbsp;so&nbsp;you&nbsp;can&nbsp;find&nbsp;following&nbsp;events&nbsp;related&nbsp;which&nbsp;type&nbsp;of&nbsp;operation&nbsp;you&nbsp;are&nbsp;doing&nbsp;against&nbsp;in&nbsp;the&nbsp;EditOverlay&nbsp;of&nbsp;MapControl.  
&nbsp;  
`winformsMap1.EditOverlay.FeatureDraggedwinformsMap1.EditOverlay.FeatureResizedwinformsMap1.EditOverlay.FeatureRotatedwinformsMap1.EditOverlay.VertexAddedwinformsMap1.EditOverlay.VertexMovedwinformsMap1.EditOverlay.VertexRemoved`  
&nbsp;  
Any&nbsp;more&nbsp;questions&nbsp;please&nbsp;feel&nbsp;free&nbsp;to&nbsp;let&nbsp;me&nbsp;know.  
&nbsp;  
Thanks.  
&nbsp;  
Yale

---

<div class="post-metadata">

**Author:** ![franklin1](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/f/e9a140/32.png) [@franklin1](https://community.thinkgeo.com/u/franklin1)\
**Post date:** [November 22, 2010, 4:21am UTC](https://community.thinkgeo.com/t/event-handler-for-save-an-editted-polygon/1497/3 "2010-11-22T04:21:11Z")

</div>

Hi&nbsp;Yale,&nbsp;  
&nbsp;&nbsp;  
&nbsp;&nbsp;&nbsp;Suppose&nbsp;I&nbsp;have&nbsp;created&nbsp;several&nbsp;polygons&nbsp;on&nbsp;a&nbsp;map&nbsp;and&nbsp;want&nbsp;to&nbsp;save&nbsp;all&nbsp;these&nbsp;shapse&nbsp;into&nbsp;database&nbsp;by&nbsp;clicking&nbsp;the&nbsp;save&nbsp;button.&nbsp;  
&nbsp;In&nbsp;order&nbsp;to&nbsp;do&nbsp;so,&nbsp;I&nbsp;need&nbsp;  
&nbsp;1.)&nbsp;create&nbsp;a&nbsp;polygon&nbsp;layer&nbsp;&nbsp;  
&nbsp;2.)&nbsp;add&nbsp;these&nbsp;shapes&nbsp;as&nbsp;features&nbsp;into&nbsp;the&nbsp;layer&nbsp;  
&nbsp;&nbsp;  
&nbsp;I&nbsp;am&nbsp;not&nbsp;clear&nbsp;about&nbsp;the&nbsp;syntax&nbsp;for&nbsp;creating&nbsp;such&nbsp;a&nbsp;polygon&nbsp;layer.&nbsp;Could&nbsp;you&nbsp;please&nbsp;shed&nbsp;light&nbsp;on&nbsp;this&nbsp;by&nbsp;a&nbsp;short&nbsp;example?&nbsp;Thanks.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Franklin&nbsp;

---

<div class="post-metadata">

**Author:** ![ThinkGeo](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/thinkgeo/32/25029_2.png) [@ThinkGeo](https://community.thinkgeo.com/u/ThinkGeo)\
**Post date:** [November 22, 2010, 8:14am UTC](https://community.thinkgeo.com/t/event-handler-for-save-an-editted-polygon/1497/4 "2010-11-22T08:14:27Z")

</div>

Franklin,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks&nbsp;for&nbsp;your&nbsp;post&nbsp;and&nbsp;question.&nbsp;  
&nbsp;&nbsp;  
&nbsp;I&nbsp;hope&nbsp;I&nbsp;did&nbsp;not&nbsp;mistake&nbsp;anything.&nbsp;We&nbsp;probably&nbsp;can&nbsp;use&nbsp;the&nbsp;InmemoryFeatureLayer&nbsp;to&nbsp;hold&nbsp;that&nbsp;polygon&nbsp;features,&nbsp;which&nbsp;is&nbsp;the&nbsp;simplest&nbsp;way&nbsp;to&nbsp;do&nbsp;this.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Any&nbsp;more&nbsp;questions&nbsp;please&nbsp;do&nbsp;not&nbsp;hesitate&nbsp;to&nbsp;let&nbsp;me&nbsp;know.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Yale&nbsp;

---

<div class="post-metadata">

**Author:** ![franklin1](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/f/e9a140/32.png) [@franklin1](https://community.thinkgeo.com/u/franklin1)\
**Post date:** [November 22, 2010, 9:18am UTC](https://community.thinkgeo.com/t/event-handler-for-save-an-editted-polygon/1497/5 "2010-11-22T09:18:10Z")

</div>

Yale,&nbsp;  
&nbsp;&nbsp;  
&nbsp;&nbsp;&nbsp;OK,&nbsp;once&nbsp;InmemoryFeatureLayer&nbsp;is&nbsp;instantiated,&nbsp;we&nbsp;can&nbsp;use&nbsp;it&nbsp;to&nbsp;call&nbsp;InternalFeature.add("Polygon1",&nbsp;Feature(…))&nbsp;  
&nbsp;1.)&nbsp;how&nbsp;would&nbsp;the&nbsp;application&nbsp;find&nbsp;out&nbsp;the&nbsp;number&nbsp;of&nbsp;Polygons&nbsp;drawn&nbsp;before&nbsp;the&nbsp;save&nbsp;button&nbsp;is&nbsp;clicked?&nbsp;  
&nbsp;2.)&nbsp;how&nbsp;am&nbsp;I&nbsp;going&nbsp;to&nbsp;add&nbsp;all&nbsp;the&nbsp;polygon&nbsp;features&nbsp;via&nbsp;the&nbsp;InternalFeature.add&nbsp;(…)?&nbsp;(the&nbsp;syntax?)&nbsp;  
&nbsp;3.)&nbsp;how&nbsp;am&nbsp;I&nbsp;going&nbsp;to&nbsp;use&nbsp;FindFeatureLayer&nbsp;to&nbsp;get&nbsp;the&nbsp;vertexis&nbsp;of&nbsp;each&nbsp;of&nbsp;the&nbsp;polygon&nbsp;feature?&nbsp;  
&nbsp;Thanks.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Franklin

---

<div class="post-metadata">

**Author:** ![ThinkGeo](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/thinkgeo/32/25029_2.png) [@ThinkGeo](https://community.thinkgeo.com/u/ThinkGeo)\
**Post date:** [November 23, 2010, 7:11am UTC](https://community.thinkgeo.com/t/event-handler-for-save-an-editted-polygon/1497/6 "2010-11-23T07:11:24Z")

</div>

Franklin,

Thanks&nbsp;for&nbsp;your&nbsp;post&nbsp;and&nbsp;questions.  
&nbsp;  
1)&nbsp;If&nbsp;you&nbsp;are&nbsp;using&nbsp;the&nbsp;track&nbsp;system&nbsp;of&nbsp;the&nbsp;map&nbsp;control&nbsp;to&nbsp;create&nbsp;those&nbsp;polygons,&nbsp;then&nbsp;all&nbsp;the&nbsp;polygons&nbsp;are&nbsp;stored&nbsp;in&nbsp;the&nbsp;TrackShapeLayer.&nbsp;So&nbsp;you&nbsp;can&nbsp;get&nbsp;the&nbsp;count&nbsp;by&nbsp;using&nbsp;the&nbsp;following&nbsp;statement:  
int&nbsp;count&nbsp;=&nbsp;winformsMap1.TrackOverlay.TrackShapeLayer.InternalFeatures.Count;  
&nbsp;  
2)&nbsp;I&nbsp;am&nbsp;not&nbsp;sure&nbsp;what&nbsp;is&nbsp;the&nbsp;real&nbsp;problem&nbsp;is&nbsp;and&nbsp;I&nbsp;thought&nbsp;you&nbsp;have&nbsp;shown&nbsp;me&nbsp;the&nbsp;answer&nbsp;at&nbsp;the&nbsp;begging&nbsp;of&nbsp;the&nbsp;previous&nbsp;post.  
&nbsp;  
3)&nbsp;FindFeatureLayer&nbsp;only&nbsp;find&nbsp;the&nbsp;target&nbsp;feature&nbsp;layer,&nbsp;it&nbsp;cannot&nbsp;get&nbsp;the&nbsp;vertices&nbsp;out&nbsp;for&nbsp;the&nbsp;polygons.&nbsp;Try&nbsp;the&nbsp;following&nbsp;steps:  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Step1:&nbsp;Use&nbsp;the&nbsp;API&nbsp;find&nbsp;feature&nbsp;layer&nbsp;to&nbsp;get&nbsp;the&nbsp;target&nbsp;layer&nbsp;and&nbsp;convert&nbsp;it&nbsp;into&nbsp;InmemoryFeatureLayer.  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Step2:&nbsp;Loop&nbsp;each&nbsp;feature&nbsp;and&nbsp;get&nbsp;shape&nbsp;for&nbsp;it&nbsp;and&nbsp;convert&nbsp;it&nbsp;to&nbsp;polygon.  
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;Step3:&nbsp;Get&nbsp;the&nbsp;vertices&nbsp;of&nbsp;out&nbsp;ring&nbsp;and&nbsp;each&nbsp;inner&nbsp;rings;&nbsp;I&nbsp;think&nbsp;that&nbsp;is&nbsp;the&nbsp;vertices&nbsp;we&nbsp;need.  
Any&nbsp;more&nbsp;questions&nbsp;please&nbsp;do&nbsp;not&nbsp;hesitate&nbsp;to&nbsp;let&nbsp;me&nbsp;know.  
&nbsp;  
Thanks.  
&nbsp;  
Yale

---

<div class="post-metadata">

**Author:** ![franklin1](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/f/e9a140/32.png) [@franklin1](https://community.thinkgeo.com/u/franklin1)\
**Post date:** [November 23, 2010, 8:24pm UTC](https://community.thinkgeo.com/t/event-handler-for-save-an-editted-polygon/1497/7 "2010-11-23T20:24:20Z")

</div>

Yale,&nbsp;  
&nbsp;&nbsp;  
&nbsp;&nbsp;If&nbsp;the&nbsp;TrackShapeLayer&nbsp;keeps&nbsp;all&nbsp;the&nbsp;drawn&nbsp;polygons&nbsp;already,&nbsp;it&nbsp;seems&nbsp;that&nbsp;"internal&nbsp;feature&nbsp;add"&nbsp;step&nbsp;above&nbsp;can&nbsp;be&nbsp;skipped.&nbsp;Thanks&nbsp;for&nbsp;the&nbsp;guidance.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Regards,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Franklin

---

<div class="post-metadata">

**Author:** ![franklin1](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/f/e9a140/32.png) [@franklin1](https://community.thinkgeo.com/u/franklin1)\
**Post date:** [November 24, 2010, 2:53am UTC](https://community.thinkgeo.com/t/event-handler-for-save-an-editted-polygon/1497/8 "2010-11-24T02:53:52Z")

</div>

Yale,&nbsp;  
&nbsp;&nbsp;  
&nbsp;&nbsp;&nbsp;I&nbsp;am&nbsp;not&nbsp;sure&nbsp;how&nbsp;to&nbsp;get&nbsp;the&nbsp;drawn&nbsp;polygons&nbsp;kept&nbsp;at&nbsp;TrackShapeLayer.&nbsp;Is&nbsp;there&nbsp;a&nbsp;way&nbsp;of&nbsp;converting&nbsp;TrackShapeLayer&nbsp;to&nbsp;InMemoryFeatureLayer?&nbsp;  
&nbsp;Can&nbsp;you&nbsp;show&nbsp;a&nbsp;example&nbsp;of&nbsp;getting&nbsp;feature&nbsp;from&nbsp;InMemoryFeatureLayer?&nbsp;  
&nbsp;Thanks&nbsp;a&nbsp;lot.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Franklin

---

<div class="post-metadata">

**Author:** ![ThinkGeo](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/thinkgeo/32/25029_2.png) [@ThinkGeo](https://community.thinkgeo.com/u/ThinkGeo)\
**Post date:** [November 24, 2010, 3:29am UTC](https://community.thinkgeo.com/t/event-handler-for-save-an-editted-polygon/1497/9 "2010-11-24T03:29:21Z")

</div>

Franklin,&nbsp;  
&nbsp;&nbsp;  
&nbsp;TrackShapeLayer&nbsp;is&nbsp;a&nbsp;InMemoryFeatureLayer,&nbsp;that&nbsp;means&nbsp;TrackShapeLayer’s&nbsp;type&nbsp;is&nbsp;InMemoryFeatureLayer,&nbsp;all&nbsp;features&nbsp;are&nbsp;stored&nbsp;at&nbsp;InternalFeatures&nbsp;property&nbsp;which&nbsp;is&nbsp;a&nbsp;GeoCollection&nbsp;you&nbsp;can&nbsp;get&nbsp;feature&nbsp;from&nbsp;it.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Please&nbsp;let&nbsp;us&nbsp;know&nbsp;if&nbsp;you&nbsp;have&nbsp;more&nbsp;question.&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks&nbsp;  
&nbsp;James

---

<div class="post-metadata">

**Author:** ![franklin1](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/f/e9a140/32.png) [@franklin1](https://community.thinkgeo.com/u/franklin1)\
**Post date:** [November 24, 2010, 3:45am UTC](https://community.thinkgeo.com/t/event-handler-for-save-an-editted-polygon/1497/10 "2010-11-24T03:45:00Z")

</div>

Hi&nbsp;James,&nbsp;  
  
  
  
Is&nbsp;it&nbsp;possible&nbsp;to&nbsp;get&nbsp;IEnumerable&nbsp;PolygonShape  
\<polygonshape\>\</polygonshape\>  
&nbsp;from&nbsp;the&nbsp;InternalFeatures&nbsp;property?&nbsp;I&nbsp;don't&nbsp;know&nbsp;how&nbsp;to&nbsp;do&nbsp;it&nbsp;syntically.&nbsp;  
  
Have&nbsp;you&nbsp;got&nbsp;a&nbsp;clue&nbsp;on&nbsp;this?&nbsp;  
  
Thanks.&nbsp;  
  
  
  
Franklin

---

<div class="post-metadata">

**Author:** ![ThinkGeo](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/thinkgeo/32/25029_2.png) [@ThinkGeo](https://community.thinkgeo.com/u/ThinkGeo)\
**Post date:** [November 24, 2010, 3:54am UTC](https://community.thinkgeo.com/t/event-handler-for-save-an-editted-polygon/1497/11 "2010-11-24T03:54:53Z")

</div>

Franklin,&nbsp;  
&nbsp;&nbsp;  
&nbsp;Yes,&nbsp;each&nbsp;Feature&nbsp;has&nbsp;a&nbsp;shape,&nbsp;you&nbsp;can&nbsp;use&nbsp;feauture.GetShape()&nbsp;and&nbsp;convert&nbsp;to&nbsp;PolygonShape,&nbsp;if&nbsp;you’re&nbsp;not&nbsp;sure&nbsp;if&nbsp;it&nbsp;is&nbsp;PolygonShape&nbsp;or&nbsp;not,&nbsp;you&nbsp;can&nbsp;check&nbsp;shape.GetWellKnowType().&nbsp;  
&nbsp;&nbsp;  
&nbsp;Thanks&nbsp;  
&nbsp;James

---

<div class="post-metadata">

**Author:** ![franklin1](https://community.thinkgeo.com/letter_avatar_proxy/v4/letter/f/e9a140/32.png) [@franklin1](https://community.thinkgeo.com/u/franklin1)\
**Post date:** [November 24, 2010, 8:21pm UTC](https://community.thinkgeo.com/t/event-handler-for-save-an-editted-polygon/1497/12 "2010-11-24T20:21:46Z")

</div>

James,&nbsp;  
  
Thanks.&nbsp;I&nbsp;have&nbsp;tried&nbsp;what&nbsp;you&nbsp;said&nbsp;as&nbsp;version&nbsp;2&nbsp;of&nbsp;the&nbsp;CovertPolygonLayerToZones&nbsp;method&nbsp;attached.&nbsp;  
  
Still&nbsp;the&nbsp;multipolygonshape&nbsp;instance&nbsp;created&nbsp;doesn't&nbsp;contain&nbsp;the&nbsp;polygon&nbsp;drawn&nbsp;on&nbsp;the&nbsp;application&nbsp;map&nbsp;and&nbsp;same&nbsp;exception&nbsp;occurs.&nbsp;  
  
My&nbsp;questions&nbsp;are&nbsp;  
  
1.)&nbsp;Does&nbsp;the&nbsp;TrackShapeLayer&nbsp;automatically&nbsp;save&nbsp;the&nbsp;feature&nbsp;(i.e.&nbsp;a&nbsp;polygon)&nbsp;drawn&nbsp;on&nbsp;the&nbsp;map?&nbsp;  
  
2.)&nbsp;What&nbsp;goes&nbsp;wrong&nbsp;in&nbsp;the&nbsp;code&nbsp;specifically?&nbsp;  
  
3.)&nbsp;How&nbsp;to&nbsp;construct&nbsp;the&nbsp;multipolygonShape&nbsp;instance&nbsp;correctly,&nbsp;which&nbsp;should&nbsp;contain&nbsp;the&nbsp;polygon&nbsp;or&nbsp;polygons&nbsp;drawn&nbsp;on&nbsp;the&nbsp;map?&nbsp;  
  
Thanks&nbsp;a&nbsp;lot.&nbsp;  
  
Franklin

[FeatureLayerProblem.txt](https://community.thinkgeo.com/uploads/default/original/2X/a/a0f4204e41468b3b2ce46bd9cda3abaac606b960.txt) (3.29 KB)

---

<div class="post-metadata">

**Author:** ![ThinkGeo](https://community.thinkgeo.com/user_avatar/community.thinkgeo.com/thinkgeo/32/25029_2.png) [@ThinkGeo](https://community.thinkgeo.com/u/ThinkGeo)\
**Post date:** [November 24, 2010, 9:13pm UTC](https://community.thinkgeo.com/t/event-handler-for-save-an-editted-polygon/1497/13 "2010-11-24T21:13:10Z")

</div>

Franklin,&nbsp;  
  
  
  
Thanks&nbsp;for&nbsp;your&nbsp;detail&nbsp;information.&nbsp;  
  
  
  
Your&nbsp;sample&nbsp;code&nbsp;can&nbsp;not&nbsp;compiled&nbsp;and&nbsp;has&nbsp;some&nbsp;logic&nbsp;problem&nbsp;I&nbsp;don't&nbsp;think&nbsp;you&nbsp;can&nbsp;run&nbsp;it,&nbsp;maybe&nbsp;it's&nbsp;not&nbsp;your&nbsp;really&nbsp;code,&nbsp;but&nbsp;still&nbsp;give&nbsp;me&nbsp;some&nbsp;information&nbsp;that&nbsp;can&nbsp;solve&nbsp;your&nbsp;problem.&nbsp;  
  
  
  
First,&nbsp;at&nbsp;trackOverlay\_TrackEnded,&nbsp;you&nbsp;add&nbsp;layer&nbsp;with&nbsp;the&nbsp;same&nbsp;key&nbsp;for&nbsp;each&nbsp;time,&nbsp;so&nbsp;that&nbsp;when&nbsp;you&nbsp;track&nbsp;the&nbsp;second&nbsp;polygon&nbsp;it&nbsp;will&nbsp;throw&nbsp;exception&nbsp;"An&nbsp;item&nbsp;with&nbsp;the&nbsp;same&nbsp;key&nbsp;has&nbsp;already&nbsp;been&nbsp;added.".&nbsp;  
  
&nbsp;

&nbsp;

Second,&nbsp;I&nbsp;don't&nbsp;know&nbsp;how&nbsp;this&nbsp;code&nbsp;works?&nbsp;  
  
"IEnumerable&nbsp;allPolygons&nbsp;=&nbsp;polygLayer.FeatureSource&nbsp;.GetAllFeatures(ReturningColumnsType.AllColumns)&nbsp;.OfType&nbsp;();&nbsp;"

My&nbsp;code&nbsp;can&nbsp;get&nbsp;the&nbsp;MultipolygonShape:&nbsp;  
  
`IEnumerable<Feature> allFeatures = polygLayer.FeatureSource.GetAllFeatures(ReturningColumnsType.NoColumns);Collection<PolygonShape> allPolygons = new Collection<PolygonShape>();foreach (Feature feature in allFeatures){    allPolygons.Add((PolygonShape)feature.GetShape());}MultipolygonShape mpolyg = new MultipolygonShape(allPolygons);`

I&nbsp;think&nbsp;right&nbsp;now&nbsp;you&nbsp;have&nbsp;already&nbsp;found&nbsp;the&nbsp;answers&nbsp;for&nbsp;your&nbsp;three&nbsp;questions.&nbsp;  
  
  
  
Please&nbsp;let&nbsp;me&nbsp;know&nbsp;if&nbsp;you&nbsp;still&nbsp;can&nbsp;not&nbsp;fix&nbsp;it.&nbsp;  
  
Thanks&nbsp;  
  
  
  
James
