AronMcD
asked on
MS Access VBA Forms
Hello,
This question is related to a previous question I asked.
http://www.experts-exchang e.com/Micr osoft/Appl ications/Q _27031414. html
When I'm checking my old value against the new value to see if it changed, when the old value is NULL it doesn't detect a change.
Example:
So when the user opens the form and makes a selection from a combo box that was previously empty, the .oldvalue comes up as NULL and it doesn't detect a change. Is there a way around this?
This question is related to a previous question I asked.
http://www.experts-exchang
When I'm checking my old value against the new value to see if it changed, when the old value is NULL it doesn't detect a change.
Example:
If g_User_Task = "ReviseOrder" Then
If Me.cboUDStakePockets.OldValue <> Me.cboUDStakePockets.Value Then
Me.cboUDStakePockets.Value = Me.cboUDStakePockets.Value & " CHANGED"
End If
End If
So when the user opens the form and makes a selection from a combo box that was previously empty, the .oldvalue comes up as NULL and it doesn't detect a change. Is there a way around this?
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER