Hi there,
I am trying to do a script with a admin page. For example if I want to stop my team adding new customers I'm going to remove the new customer button on my form by using a table in another form. So if I want to hide button1 I will go into table3 and click the buttonvisable yes/no and it will hide on my other form. Im having problems with linking the button to the table.
Here is a copy of the code.
Dim SeeButton As String
SeeButton = DLookup("ButtonVisible", "HomeScreenButtons", "ButtonVisible =", Me.GuestBut1)
If SeeButton = Yes Then
MsgBox "It can be seen"
Else
MsgBox "It cannot be seen"
End If
in the table is ID, Button Name, ButtonVisible, buttonenabled
Im loosing my mind
thank you in advance
Jon