Well, if you are actually editing code..then in that code you simply need a
function, or something that tells you it is daylight saving.
Either you have some config table where you simply click on a check box to
"set" if we are in daylight setting or not. You could even in this case use
a global variable, but often there is several types of "things" that I need
to allow users to set (default city, default area codes for phone numbers
etc). I simply place all of these values into a table, and that table has
only ONE record. In your start-up code, you simply load that table into a
global recordset. So, for each new "default", you do add a field, and if the
user need to be able to change the value, you also place the field on a
contorl on the config form (so, things like default city, or area code don't
take much code to save...since they are all on one form for the user).
Anway, when the database loads..you can use:
set rstDefaults = currentdb.OpenRecordSet("tblDefaults")
' Then, in your code:
if rstDefaults!DaylightSave = true then
bla bla
else
bla baa
end if