boaterjohn
Registered User.
- Local time
- Today, 02:57
- Joined
- Nov 16, 2012
- Messages
- 10
I have a access table called Fruits. I have 2 fields in this table:
fld 1 = "Fruit" fld 2 = "LName" fld 3 = "Fruit Code"
Using the following Below: When I enter "Fruit" field, it stays blank. It should show "Grapes". I'm obviously missing something in this code.
Any help, appreciated
Thanx,
boaterjohn
Private Sub Fruit_Enter()
Select Case Fruit
Case Left([LNAME], 1) = "G" and Right([Fruit Code], 2)
Me.Fruit = "Grapes"
End Select
End Sub
fld 1 = "Fruit" fld 2 = "LName" fld 3 = "Fruit Code"
Using the following Below: When I enter "Fruit" field, it stays blank. It should show "Grapes". I'm obviously missing something in this code.
Any help, appreciated
Thanx,
boaterjohn
Private Sub Fruit_Enter()
Select Case Fruit
Case Left([LNAME], 1) = "G" and Right([Fruit Code], 2)
Me.Fruit = "Grapes"
End Select
End Sub
Last edited: