MeisterGirl
Registered User.
- Local time
- Today, 11:47
- Joined
- Aug 8, 2001
- Messages
- 11
I have the following lines of code written behind my form:
If Prod_Grp = "EA" Then
Serv_Cd = "STD"
End If
If Prod_Grp = "IN" Then
Serv_Cd = "800"
End If
If Prod_Grp = "HD" Then
Serv_Cd = "HMD"
End If
If Prod_Grp = "TR" Then
Serv_Cd = "TRD"
End If
The problem is that when I enter the value for Prod_Grp, the Serv_Cd field is not populating. I have tried placing this code in several places in my form. Why is it not updating? Does the code need to be build behind Prod_Grp or behind Serv_Cd and does it need to run On Exit, On Update or what. Once again I will stress that I am not a coder at all so any help is appreciated!!!
Thanks!
If Prod_Grp = "EA" Then
Serv_Cd = "STD"
End If
If Prod_Grp = "IN" Then
Serv_Cd = "800"
End If
If Prod_Grp = "HD" Then
Serv_Cd = "HMD"
End If
If Prod_Grp = "TR" Then
Serv_Cd = "TRD"
End If
The problem is that when I enter the value for Prod_Grp, the Serv_Cd field is not populating. I have tried placing this code in several places in my form. Why is it not updating? Does the code need to be build behind Prod_Grp or behind Serv_Cd and does it need to run On Exit, On Update or what. Once again I will stress that I am not a coder at all so any help is appreciated!!!
Thanks!