For those that have been helping me out. I really appreciate it.. I have an SQL statement that I need to close - it needs two )) at the end of it - I'm pretty sure..
Could someone follow the below code and possibly help?
Thanks..
strSQL = "UPDATE Int1Table SET Int1Table.Invoiced = Yes WHERE (((Int1Table.Received) Between [Forms]![InvoiceForm]![FromDate] And [Forms]![InvoiceForm]![ToDate]) AND ((Int1Table.ClientCode)="
For Each varItem In ctl.ItemsSelected
strSQL = strSQL & "'" & ctl.ItemData(varItem) & "' Or ([Int1Table].[ClientCode])="
Next varItem
J.
Could someone follow the below code and possibly help?
Thanks..
strSQL = "UPDATE Int1Table SET Int1Table.Invoiced = Yes WHERE (((Int1Table.Received) Between [Forms]![InvoiceForm]![FromDate] And [Forms]![InvoiceForm]![ToDate]) AND ((Int1Table.ClientCode)="
For Each varItem In ctl.ItemsSelected
strSQL = strSQL & "'" & ctl.ItemData(varItem) & "' Or ([Int1Table].[ClientCode])="
Next varItem
J.