J
Joe Cilinceon
I trying to execute this inside a letter printing form. It puts a note in
the tenant's notes "Printed: Late Letter for Unit#" (then the unit number0.
Now it works fine in a Query but keeps giving me a syntax error missing
operator. I've tried it a bunch of different ways but can't seem to get what
I'm obviously missing.
Here is the string:
strSQL = "INSERT INTO tblTenantNotes ( CustNo, [Note] )" & _
"SELECT qryBalanceDue.CustNo, 'Printed: Late Letter for Unit #'" &
_
"[Unit] AS [Note] FROM qryBalanceDue" & _
"WHERE (((qryBalanceDue.Days)>9 And (qryBalanceDue.Days)<45));"
the tenant's notes "Printed: Late Letter for Unit#" (then the unit number0.
Now it works fine in a Query but keeps giving me a syntax error missing
operator. I've tried it a bunch of different ways but can't seem to get what
I'm obviously missing.
Here is the string:
strSQL = "INSERT INTO tblTenantNotes ( CustNo, [Note] )" & _
"SELECT qryBalanceDue.CustNo, 'Printed: Late Letter for Unit #'" &
_
"[Unit] AS [Note] FROM qryBalanceDue" & _
"WHERE (((qryBalanceDue.Days)>9 And (qryBalanceDue.Days)<45));"