Yea will till you sent me that bit yesterday it just run up an error, now it runs but no results appear when i select and hit the command. If i select nothing an error message does appear saying i selected nothing so it works.
The print debug command sends this statement into the immediate box...
In the list box there is alot of Practice codes which represents buildings in northern ireland each practice has a lot of assets assigned to them.
So from the list box i want to select practice codes which are in the same area and populate them into a table and then i can create a macro which...
Hey when i select a practice code. I basically want to run the query from a list box which will produce results on this selection, I had it as a single parameter box which the owner doesn’t think it is sufficient enough as it is time consuming. Do you know what would be wrong? Now no results...
Im having serious problems getting my head around this:banghead:I want to pass a list box (which is called Pract_List) to a paramter query called testquery but for some reason it wont work. The line qdf.SQL = strSQL is comming up in the debugger could anyone help?
Private Sub Command_4_Click()...
I want to pass a list box (which is called Pract_List) to a paramter query called testquery but for some reason it wont work. The line qdf.SQL = strSQL is comming up in the debugger could anyone help?
Private Sub Command_4_Click()
Dim db As DAO.Database
Dim qdf As DAO.QueryDef
Dim varItem As...