Unfortunately it happens on all fields under all circumstances. And when i
set the control source to the required query and comment out the code
everything works fine, in fact all the query's are working perfectly.
> #Name means that you are incorrectly referring to something.
>
[quoted text clipped - 35 lines]
> >> > i
> >> > know my querys are correct so is there something i am still missing?
First up, make sure the Name AutoCorrect boxes are unchecked under:
Tools | Options | General
If you want to know why:
http://allenbrowne.com/bug-03.html
Then compact the database.
Now, save the report with its RecordSource property blank, i.e. it has no
idea about what data to expect until the Form_Open event runs.
Now, Add this to the end of the Form_Open event procedure:
Debug.Print Me.RecordSource
When it runs (and errors out), press Ctrl+G to open the Immediate Window,
and see if the correct query name is printed.
Continue with that kind of tracing through to see what's wrong.

Signature
Allen Browne - Microsoft MVP. Perth, Western Australia.
Tips for Access users - http://allenbrowne.com/tips.html
Reply to group, rather than allenbrowne at mvps dot org.
> Unfortunately it happens on all fields under all circumstances. And when i
> set the control source to the required query and comment out the code
[quoted text clipped - 42 lines]
>> >> > i
>> >> > know my querys are correct so is there something i am still missing?
Kreitals - 14 Dec 2005 03:06 GMT
Ahh, turns out its not setting any record source at all, guess now i will
just have to backtrack and find out why.
Thankyou very much for all the help, i hope now i can get it all sorted :)
Cheers.
> First up, make sure the Name AutoCorrect boxes are unchecked under:
> Tools | Options | General
[quoted text clipped - 59 lines]
> >> >> > i
> >> >> > know my querys are correct so is there something i am still missing?