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 sizbut on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Change Property

Status
Not open for further replies.

orna

Programmer
Apr 2, 2002
314
IL
I'd like to change the property "Use Access Special key"
within the code and be able to use F11 without reopen the application.

Set db = CurrentDb
On Error Resume Next
Set prp = db.CreateProperty("AllowByPassKey", dbBoolean, bool_)
db.Properties.Append prp
If Err.Number <> 0 Then
db.Properties("AllowByPassKey") = bool_
End If
db.Properties.Refresh

Is is possible?

TIA
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top