The example provided is a Latitude 27Degrees 30minutes 42 seconds North.
What you want is
+27.5117 degrees (+ is N) (- is S) (27 + 30/60 + (42/60)/60.
As a companion to this you most likely hava a longitude value
81-30,45W (+81.575 degrees)
This would be a location somewhere in the middle of Flordia.
So you would store the two fields above as degrees (one as Latitude, the
other as Longitude), then format them in your forms etc. as required.
(very, very much like the way date/time is stored)
Most likely all of your numbers will be in the the same geographic region, N
latitude and West Longitude, if not you will have to parse out the N,S,W,E
values to get the signs of the values.
You will need to have some VBA code
The function below assumes:
1. All the values represent degrees from 10-99 (N|W), if outside these
values additional processing would be required to get the values.
Function getDegrees (valuePassed as string) as double
dim tempDegrees as string
dim tempMinutes as string
dim tempSeconds as string
dim dblDegrees as double
dim dblMinutes as double
dim dblSeconds as double
TempDegrees = Left(valuePassed,2)
TempMinutes = Mid(valuePassed, 3,2)
TempSeconds=Mid(valuePassed,7,2)
dblDegrees = cdbl(tempdegrees)
dblMinutes = cdbl(tempMinutes)
dblSeconds=cdbl(tempSeconds)
dblDegrees = nz(dblDegrees,0)+nz(dblMinutes,0)/60 + (nz(dblSeconds,0)/60)/60
getDegrees = dblDegrees
end Function
Hope this helps
Ed Warren