' strSql = "Delete * from [tlb Blood Pressures] where [date Entered] >= " & fromdate & " AND [date Entered] <= " & todate
strSql = "Select * from [tlb Blood Pressures] where [date Entered] >= " & fromdate & " AND [date Entered] <= " & todate
MsgBox " strSql=" & strSql
DoCmd.RunSQL strSql, dbFailOnError
The select statement produces the follow error on the doCmd.RunSql command
A runsql action requires an argument consisting of an SQL statement.
Runtime error '2342'
The SQL Delete statement works in another module.
strSql = "Select * from [tlb Blood Pressures] where [date Entered] >= " & fromdate & " AND [date Entered] <= " & todate
MsgBox " strSql=" & strSql
DoCmd.RunSQL strSql, dbFailOnError
The select statement produces the follow error on the doCmd.RunSql command
A runsql action requires an argument consisting of an SQL statement.
Runtime error '2342'
The SQL Delete statement works in another module.