RexesOperator
Registered User.
- Local time
- , 22:20
- Joined
- Jul 15, 2006
- Messages
- 604
I realize looking for help on logic on New Year's Eve may be asking too much, but I will give it a whirl.
I know I could solve this problem with an update query, but for the moment I would like to avoid that. I should be able to do this programmatically.
I have a field that contains one of five letters: d,e,f,g,m. I have the query set up with a parameter that is filled from a form: Forms!frmGETQFLAG!txtOLDQFLAG. The problem is that d and f mean the same things and e and g mean the same thing. So I would like the parameter to be smart enough to know that it should provide f when d is selected and vice versa.
I have tried variations on IIf, but I can't seem to get the query to display both of d AND f or both of e AND g.
This is not essential. Everything else is complete (the db will be deployed on Tuesday). But this would be a nice to have feature.
I know I could solve this problem with an update query, but for the moment I would like to avoid that. I should be able to do this programmatically.
I have a field that contains one of five letters: d,e,f,g,m. I have the query set up with a parameter that is filled from a form: Forms!frmGETQFLAG!txtOLDQFLAG. The problem is that d and f mean the same things and e and g mean the same thing. So I would like the parameter to be smart enough to know that it should provide f when d is selected and vice versa.
I have tried variations on IIf, but I can't seem to get the query to display both of d AND f or both of e AND g.
This is not essential. Everything else is complete (the db will be deployed on Tuesday). But this would be a nice to have feature.