Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

SQL query to change Required property MS Access

Status
Not open for further replies.

AvatarZA

Programmer
Sep 26, 2002
42
0
0
ZA
I require a SQL statement that changes the Required property on a field in a MS Access database.

Any help would be great.

Thanks in advance
 
Take a look at the Required property of the DAO.Field object you can retrieve via the CurrentDB.TableDefs collection.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
I am not too sure on how to go about getting these objects and collections, I am actually using VB.Net and all I can use is a SQL statement to alter the property(that I know of).

Thanks for the help PHV but I need that in a query?
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top