Howdy all,
Thanks in advance for any references, suggestions, opinions, etc.
Here's what I'm trying to do and I'm getting nowhere so far.
On a user form, I've set up a row source to only show possible options according to other items selected on the form - been there, done that, pretty common thing - also asked often in the forums.
Here's the part where it gets interesting and I do not have the answer just yet. It seems it would be simple.. Maybe it's too late in the evening.
In the instance where one of the combo boxes is null, I want to not use the critieria based on that control box. In case that makes no sense, I'll setup the example of it here:
1. Control of question = cboMyComboBox
2. Control whose recordsource is to be affected = cboAffected
3. So far I thought I'd try using Nz(cboMyComboBox,*) that didn't work
4. Then I tried Nz(cboMyComboBox,"*), and of course that didn't work - duh, b/c it's based on the string value of the asterisc character.
So, any thoughts or suggestions on this? Is there a way I can modify it so that I can just flat change the record source of the 2nd control, or either modify the record source... OR put something like the Nz condition within the critieria...
Or work in an Or clause... I suppose that is possible, was trying to avoid that one.
Thanks again,
Thanks in advance for any references, suggestions, opinions, etc.
Here's what I'm trying to do and I'm getting nowhere so far.
On a user form, I've set up a row source to only show possible options according to other items selected on the form - been there, done that, pretty common thing - also asked often in the forums.
Here's the part where it gets interesting and I do not have the answer just yet. It seems it would be simple.. Maybe it's too late in the evening.
In the instance where one of the combo boxes is null, I want to not use the critieria based on that control box. In case that makes no sense, I'll setup the example of it here:
1. Control of question = cboMyComboBox
2. Control whose recordsource is to be affected = cboAffected
3. So far I thought I'd try using Nz(cboMyComboBox,*) that didn't work
4. Then I tried Nz(cboMyComboBox,"*), and of course that didn't work - duh, b/c it's based on the string value of the asterisc character.
So, any thoughts or suggestions on this? Is there a way I can modify it so that I can just flat change the record source of the 2nd control, or either modify the record source... OR put something like the Nz condition within the critieria...
Or work in an Or clause... I suppose that is possible, was trying to avoid that one.
Thanks again,