Umm? Doesn't match my experience! Except in the one specific instance of
subqueries in brackets (which Access only did in a couple of versions),
bracketing table and fieldnames is usually actually preferable.
your 200% right but that is the case that I had problems in which case
when I took off the brackets everything went back to normal, I did not
took my time to check if this was really the problem,
By the way I would be happy to know if when I am accessing a field in
the collection (for example rst.fields(“[your field name]”) ) if it
is OK with brackets?
Well... yes. The QBE grid is just a tool to build SQL, and the SQL *is* the
query; if you need to apply criteria to a field, then the table containing
that field needs to be in the FROM clause.
The QBE grid “is” tool that might save hours of coding and debugging,
To make a self join just include (from the select table dialog box)
the table twice and join them as you would do with any other table, to
this in SQL just type SELF JOIN as you would do any other join,
by the way the whole idea of a join is to avoid the nested select
statement in the where clause