The error: Compile error. in query expression 'MID(document,1,6)="XXXXXX'.
The query:
I'm completely lost. I was developing a program to generate PDFs with query values, after I had tested it several times one of my queries broke. I tried compacting and repairing but that did not fix anything either. This query was working just fine just an hour ago! Any idea?Code:SELECT * FROM qry_a WHERE MID(document,1,6) = "XXXXXX";