K
kiwiblue
I have read the replies to other similar queries and understand the 'whys' of
not storing calculated data. I may be too narrow in my thinking, but can't
see any other way of achieving what I need:
I am storing geographical (Latitude and Longitude) coordinate data, in the
format Degrees, Minutes, Seconds (DMS) with each in its own field. Later in
the process I am converting from DMS to decimal using a calculated field in a
form. All good so far.
For data integrity purposes, I need to be able to prove that each entry is
absolutely unique. What I was trying to do to achieve this, was to add the
sum of the decimal LAT and the decimal LON together, then check the result
against every other such sum in the database to ensure that each location is
totally unique -the sum of the decimal LAT and decimal LON should be totally
unique for any given location on the planet. The sum is the easy part... got
that in a form. I don't know how else to handle this but to store these
results in a table field, which is set to accept only unique values.
Would really appreciate any advice offered. I'm not particularly adept
within Access, but should be able to understand simple instructions as long
as you type slowly!
Thank you!
not storing calculated data. I may be too narrow in my thinking, but can't
see any other way of achieving what I need:
I am storing geographical (Latitude and Longitude) coordinate data, in the
format Degrees, Minutes, Seconds (DMS) with each in its own field. Later in
the process I am converting from DMS to decimal using a calculated field in a
form. All good so far.
For data integrity purposes, I need to be able to prove that each entry is
absolutely unique. What I was trying to do to achieve this, was to add the
sum of the decimal LAT and the decimal LON together, then check the result
against every other such sum in the database to ensure that each location is
totally unique -the sum of the decimal LAT and decimal LON should be totally
unique for any given location on the planet. The sum is the easy part... got
that in a form. I don't know how else to handle this but to store these
results in a table field, which is set to accept only unique values.
Would really appreciate any advice offered. I'm not particularly adept
within Access, but should be able to understand simple instructions as long
as you type slowly!
Thank you!