This is a follow up query to a problem I have been working on for a while now. (Multiple Query in a column I think I called it)<br><br>What I have is a column of numbers representing machines, ranging from 1-999. What I need to be able to do is to select non-sequential samples of these numbers in a query ...<br><br>e.g. 1,8,50,287,700 or a shorter sample e.g. 3,400,987<br><br>So the helpful suggestion I got was to use a VB input box, to type in numbers as a string and then to define a module which would search the column for the numbers in that string.<br><br>The simple SQL is as follows;<br><br>SELECT *<br>FROM qryall<br>WHERE Machine IN <br>( funcResponse() );<br><br>The Function was defined in a module as follows;<br><br>Public Function funcResponse() As String<br> funcResponse = InputBox("Enter Numbers for Query criteria", "Input Box"
<br>End Function<br><br><br><br>The Problem is ...<br><br>If i enter a single number into the input box, it will return all the data for that machine as desired. However is i try to enter more than one number it returns a blank table. I have tried separating the numbers by comma etc. to see if that was the problem, but I haven't been able to sort it.<br><br>Any help to finish this off would be great,<br><br>Cheers,<br><br>Jekyll.<br><br>