NJS said:
Unfortunately there are hundreds of date fields, so I have to do it at
application or O/S level.
You could write some code that goes though all the forms and updates
the various date/time control fields Format settings.
The problem would be identifying which controls are date/time fields.
Assuming that if you have non unique field names that at least you
were consistent with field usage based on name.
Create a table listing all the fields in the tables in your app which
are date/time type. Then go through all the forms and the controls on
the forms using the forms collection and the controls collection.
Update the format property for bound fields which have the same name
as in that previously mentioned table.
Tony
--
Tony Toews, Microsoft Access MVP
Please respond only in the newsgroups so that others can
read the entire thread of messages.
Microsoft Access Links, Hints, Tips & Accounting Systems at
http://www.granite.ab.ca/accsmstr.htm
Tony's Microsoft Access Blog -
http://msmvps.com/blogs/access/