Silvera
New member
- Local time
- 1:07 PM
- Messages
- 16
In MS Access how do I have one field's data trigger another data?
I've tried this but no result:
Private Sub rfi_closed_BeforeUpdate()
If rfi_dt_to_contr = "NULL" Then
rfi_closed = "NO"
Else
rfi_closed = "YES"
End If
End Sub
If "rfi_dt_to_contr" is empty I want the field "rfi_closed" to be "NO" and if there is data [i.e. a date] it is to be "YES".
I've tried this but no result:
Private Sub rfi_closed_BeforeUpdate()
If rfi_dt_to_contr = "NULL" Then
rfi_closed = "NO"
Else
rfi_closed = "YES"
End If
End Sub
If "rfi_dt_to_contr" is empty I want the field "rfi_closed" to be "NO" and if there is data [i.e. a date] it is to be "YES".
My Computer
At a glance
Windows 7 Home Premium 64bitAMD Phenom II X6 1075T 3.0GHz4 GB
- Computer type
- PC/Desktop
- Computer Manufacturer/Model Number
- Home built
- OS
- Windows 7 Home Premium 64bit
- CPU
- AMD Phenom II X6 1075T 3.0GHz
- Motherboard
- ASUS M4A88T-M
- Memory
- 4 GB