Hi There,
I'm using access 2010 to create a Simple Asset DB for some of our server resources. Basic tracking of type of Server, IPs, ILO Address, Asset Info, etc. I have one main table with server info, then I have a few linked tables that I pull data from. Data like location and Type of server.
I created a datasheet form for quick access.
I'm trying to use the after update event procedure to perform certain actions after a field is updated.
For example, I have a combo box on each record, that I select Virtual or Physical server. Those values are based on a typetable. Based on the value in that field, I want to be able to disable or enable the ILO address field on the form. I'm using a a simple if then statement
If Me.nodeType = 1 Then
Me.nodeILO.Enabled = False
Me.nodeILO2.Enabled = False
Else
Me.nodeILO.Enabled = True
Me.nodeILO2.Enabled = True
End If
The problem is that when I update the type field for one record, it changes the enabled state for all records and not just that one.
Is there a way to only disable the fields for the current record?
I also have a set of cascading combo boxes, which are working, except, when I change one it resets the value for all the other records.
I'm attaching a copy of the database if you'd like to see what I have.
Thanks in advance.
-Adam