The error is occuring on a Microsoft Access database where Microsoft Access is both the front end and back end. The tables in the Microsoft Access front end is being relinked every time the front end is opening. However, the specified library it is referring to is the name of the database...
I currently have the following code:
For Each ctl In Me.Controls
If ((ctl.Name = "PurchaseOrderNum") Or (ctl.Name = "ID")) Then
ctl.Locked = True
End If
Next ctl
For some reason, I'm getting a Microsoft Access runtime 438 error. It occurs at the ctl.Locked...
I actually have the form working exactly the way I want it now, except for one problem. I have my code the exact opposite of how I want it. I want the user to choose the columns they want and show only those columns that have been selected. Right now I'm hiding the columns they selected, and...
Thanks MajP
Each solution solved the problem. It was a great help. How would you hide all the subform columns when you opened the main form? As you'll notice, I also gave you a star:).
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.