BullHalseyUSN
Technical User
Hello Experts!
Basically I need a combo box, when a record is opened on my form to look at another combo box and display a value based on the other combo box (box did that come out unclear!)
Here is the If block, which may make things clearer:
If Me![CmbRankOrRating].Column(1) = "Ensign" Or _
Me![CmbRankOrRating].Column(1) = "LTJG" Or _
Me![CmbRankOrRating].Column(1) = "LT" Or _
Me![CmbRankOrRating].Column(1) = "LCDR" Or _
Me![CmbRankOrRating].Column(1) = "CDR" Or _
Me![CmbRankOrRating].Column(1) = "CAPT" Then
So, If my Cmb has any of these values, then I'd like:
Me![CmbRate].Column(1) = "n/a"
to be displayed, and I'd like it to happen when I navigate from one record to another (My form displays one record at a time - it's, say, the entire history of Bob Smith or whatever).
Also, would someone care to rec. a good reference book for Access VBA, with practical examples? Many thanks!
Hope everyone in the East's enjoying the snow!
BH
Basically I need a combo box, when a record is opened on my form to look at another combo box and display a value based on the other combo box (box did that come out unclear!)
Here is the If block, which may make things clearer:
If Me![CmbRankOrRating].Column(1) = "Ensign" Or _
Me![CmbRankOrRating].Column(1) = "LTJG" Or _
Me![CmbRankOrRating].Column(1) = "LT" Or _
Me![CmbRankOrRating].Column(1) = "LCDR" Or _
Me![CmbRankOrRating].Column(1) = "CDR" Or _
Me![CmbRankOrRating].Column(1) = "CAPT" Then
So, If my Cmb has any of these values, then I'd like:
Me![CmbRate].Column(1) = "n/a"
to be displayed, and I'd like it to happen when I navigate from one record to another (My form displays one record at a time - it's, say, the entire history of Bob Smith or whatever).
Also, would someone care to rec. a good reference book for Access VBA, with practical examples? Many thanks!
Hope everyone in the East's enjoying the snow!
BH