Damon Heron said:
I have a date field in a linked table that is set to required =yes. I want
to change it to required =no. I want to use code because this will be part
of an update of an existing front end for several locations.
Use the Compare'em utility on a before and after copy. Granted it's
overkill for what you want but it works and could be very useful in
the future.
Compare'Em
http://home.gci.net/~mike-noel/CompareEM-LITE/CompareEM.htm
Otherwise I'd have to go digging through my code to figure it out.
I also keep a version number in a table in the BE so I can run
whatever code is required just to upgrade the BE to the version
required for the FE.
In your case I'd check to see if that table exists first. If not then
use code to create the table and a field and then use an INSERT query
to create the version # record.
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/