sambrierley
Registered User.
- Local time
- Today, 00:22
- Joined
- Apr 24, 2014
- Messages
- 56
Hi all,
this is my first attempt at SQL, i have copied the syntax directly from a website but im getting the error stating " A run SQL action requires an SQL statement"
Any help is appreciated
this is my first attempt at SQL, i have copied the syntax directly from a website but im getting the error stating " A run SQL action requires an SQL statement"
Any help is appreciated
Code:
Dim varX As String
varX = "SELECT Config.[Definition]" & _
"FROM Config " & _
"WHERE Config.[Parameter] = 'Mail Folder';"
DoCmd.RunSQL varX
MsgBox varX
End Sub