Hope someone can help with the following:
I'm using Acess2 and am trying to run the following query in a sub function.
MySQL = "SELECT TOP 1 (DMin("[Date_From]","services","[clientID#] = a and [payer] = b"))
MySQL = MySQL & "AS x FROM SERVICES;"
When this line is compiled, I get errmsg of...