B
Brigitte P
I use the sample Listbox with Multiselect used in query from Duane's sample
database found on Roger's library, and it works great - I almost understand
the logic behind it. However, I need to select from two different listboxes
for the same query. One is txtMultiEvent and the other is txtMultiInjury.
I thought I could just use
IsSelectedVar("frmMultiselect","txtMultiEventType",[EventEvent]) but
substitute txtMulitInjury and have two IsSelectedVar statements in my query.
It doesn't work.
I suppose I need to accomodate the second box also in the module that I
copied from Duane's database and added my form and field name (field name for
the second field would be EventIllnessInjury). If this is so, I have no idea
how to do this. Also, why does the query have a -1 in the criteria line.
Would I need to do the same thing if I had a second IsSelectedVar statement
in my query?
My listboxes have only one field EventEvent and the second box
EventIllnessInjury.
I think I'm getting there, and appreciate any help to really complete this
part of the project.
I have used one of Duane Hookoms databases as a sample before, and thing
still run great.
Thanks for sharing your expertise so freely.
Brigitte P.
database found on Roger's library, and it works great - I almost understand
the logic behind it. However, I need to select from two different listboxes
for the same query. One is txtMultiEvent and the other is txtMultiInjury.
I thought I could just use
IsSelectedVar("frmMultiselect","txtMultiEventType",[EventEvent]) but
substitute txtMulitInjury and have two IsSelectedVar statements in my query.
It doesn't work.
I suppose I need to accomodate the second box also in the module that I
copied from Duane's database and added my form and field name (field name for
the second field would be EventIllnessInjury). If this is so, I have no idea
how to do this. Also, why does the query have a -1 in the criteria line.
Would I need to do the same thing if I had a second IsSelectedVar statement
in my query?
My listboxes have only one field EventEvent and the second box
EventIllnessInjury.
I think I'm getting there, and appreciate any help to really complete this
part of the project.
I have used one of Duane Hookoms databases as a sample before, and thing
still run great.
Thanks for sharing your expertise so freely.
Brigitte P.