JeffBarker
Registered User.
- Local time
- Today, 02:10
- Joined
- Dec 7, 2010
- Messages
- 130
Hey all, just a quickie as I've been searching for an answer to this for a while, but so far kept turning up blanks - so I'm happy to defer to the forum on this one!
Is it possible to build a Select Case statement based on two seperate fields on a form?
So, if Field A = 1 and Field B = 2 then docmd.dosomething, but if Field A = 2 and Field B = 3 then docmd.dosomethingelse??
If Field A contains a string value then Field B may or may not be populated, so depending on whether Field B is populated or not will be the catalyst to trigger one event - if Field A is populated and Field B isn't then something else will happen.
If neither Field is populated then I need to display something else.
Thanks in advance, y'all!
Is it possible to build a Select Case statement based on two seperate fields on a form?
So, if Field A = 1 and Field B = 2 then docmd.dosomething, but if Field A = 2 and Field B = 3 then docmd.dosomethingelse??
If Field A contains a string value then Field B may or may not be populated, so depending on whether Field B is populated or not will be the catalyst to trigger one event - if Field A is populated and Field B isn't then something else will happen.
If neither Field is populated then I need to display something else.
Thanks in advance, y'all!