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

SetHiddenAttribute failure

Status
Not open for further replies.

missinglinq

Programmer
Feb 9, 2002
1,914
US
Any idea why this code would fail? I've tried it both ways (application is optional, according to Access Help) trying to hide several forms. Form names are always spelled correctly, and no error message is generated.

Application.SetHiddenAttribute acTable, "MyTable", True
SetHiddenAttribute acTable, "MyTable", True

Running Access 2000.

Thanks!

The Missinglinq

Richmond, Virginia

There's ALWAYS more than one way to skin a cat!
 
You talk about forms but your code deals with tables ...

Hope This Helps, PH.
FAQ219-2884
FAQ181-2886
 
That was a typo, but I just gave myself a dope slap! Took a nap and woke up (literally) and realized that I probably had "Show hidden objects" selected in Options, and I was right!
Thanks for the trouble!

The Missinglinq

Richmond, Virginia

There's ALWAYS more than one way to skin a cat!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top