YourLastFate
New Member
- Joined
- Sep 16, 2013
- Messages
- 2
Im looking for something very simple just to replace the field data of one field based on the entry of another.
I used to know VB, not so much anymore, so here is a poorly written, multi lingual script that shows in essence what im looking to do, any/all help would be appreciated:
I used to know VB, not so much anymore, so here is a poorly written, multi lingual script that shows in essence what im looking to do, any/all help would be appreciated:
Code:
Fields: trans, trans_type
__________________________________________________
Private Sub trans_type_LostFocus()
If trans_type contains (5R110) Then
If trans_type contains (PTO) Then
trans = "5R110 PTO"
Else
trans = '5R110W"
EndIf
EndIf
If trans_type contains (4560) Then
trans = "HD4560"
EndIf
End Sub