HI - this works sets the variable globally(well I think) but how do I access this variable after I have captured a point by pressing the OK button, I am trying to retrieve the SiteID value on another form. It is initially captured on the General form and I would like to attach it to a the same field on the " true left" form without having to type the siteID in repeatedly
sub siteID
GlobalVariable = application.map.editlayer.forms("EDITFORM").pages("General").controls("g_si_tx").value
Application.MessageBox GlobalVariable
Application.UserProperties("SiteName") = GlobalVariable
End Sub