S
Snowsride
I have pasted the SQL from a query, that I have tested and runs OK, into a
Docmd.RunSQL statement but I get an error 'Expected: end of statement'.
The problem seems to be associated with a DMax statement which is written
DMax("[myField]","myTable"). The myField text is highlighted when the error
is reported and I suspect I have to add or replace some parentheses. I've
tried all sorts of combinations with no luck.
Any ideas?
Thanks
Docmd.RunSQL statement but I get an error 'Expected: end of statement'.
The problem seems to be associated with a DMax statement which is written
DMax("[myField]","myTable"). The myField text is highlighted when the error
is reported and I suspect I have to add or replace some parentheses. I've
tried all sorts of combinations with no luck.
Any ideas?
Thanks