Fornatian
Dim Person
- Local time
- Today, 10:46
- Joined
- Sep 1, 2000
- Messages
- 1,394
Having helped another reader, I have a related question. I have a multiselect list box with various names for simplicity purposes. Bob,Jane and Freddy.
I also have a fuction that builds a text string from the selections so it returns
'Bob' OR 'Jane' OR 'Freddy'
What I want to know is how do I put this function into a queries criteria row without it treating the whole lot as a text string like "'Bob' OR 'Jane' OR 'Freddy'"
Can someone advise me as to whether this is possible in the QBE grid or would I have to resort to building the SQL string in code?
I know why it's doing it but can't see a QBE led answer.
Ian
I also have a fuction that builds a text string from the selections so it returns
'Bob' OR 'Jane' OR 'Freddy'
What I want to know is how do I put this function into a queries criteria row without it treating the whole lot as a text string like "'Bob' OR 'Jane' OR 'Freddy'"
Can someone advise me as to whether this is possible in the QBE grid or would I have to resort to building the SQL string in code?
I know why it's doing it but can't see a QBE led answer.
Ian