R
ruchie
can anyone please tell me what is wrong with the SQL statement in the
end:
Dim AudID As Integer
Dim audit As String
AudID = (Me.audits.ItemData(i))
audit = DoCmd.RunSQL "SELECT [Audit] FROM tblauditUniv WHERE [AuditID]
= AudID;"
I am constantly getting Compiler error : Expected end of statement.
can someone guide me on where I am going wrong?
end:
Dim AudID As Integer
Dim audit As String
AudID = (Me.audits.ItemData(i))
audit = DoCmd.RunSQL "SELECT [Audit] FROM tblauditUniv WHERE [AuditID]
= AudID;"
I am constantly getting Compiler error : Expected end of statement.
can someone guide me on where I am going wrong?