I have already asked this before but I' struggling to crack it so forgive me for asking again.
I have a table called tblappointments
one of the fields is called therapistsid, it's a number field and is related to the table tbltherapists and a field called therapytype which contains text.
I have a form into which i have put a list box and a text box.
The list box has the contents of a query in it and the query's job is to filter fields in tblappointments by date and show the two fields therapistid and therapy type. It gets the date from the text box on the form.
The datasheet view of the query is correct. It only shows records with the date I put in the text box on the form and it shows the therapist's name and type of therapy.
My problem is that the list box on the form doesn't seem to be displaying the result of the query. It is showing an unfiltered list of the therapistid and therapytype fields - the therapistid is the id number and not the therapist's name but the therapytype is the correct text.
What am I doing wrong?