G
Guest
the following statement
strSQL = "select sum(leavehours) as retval from tblempleave where empid = " & Me.boxEmpID & " and leavetype = " & Me.boxLeaveType & "
returns a strSQL value of "select sum(leavehours) as retval from tblempleave where empid = 000001111 and leavetype = s
DoCmd.RunSQL strSQ
returns a runtime error '2342': A RunSQL action requires an argument consisting of an SQL statement
what am I missing here
tia
JMorrell
strSQL = "select sum(leavehours) as retval from tblempleave where empid = " & Me.boxEmpID & " and leavetype = " & Me.boxLeaveType & "
returns a strSQL value of "select sum(leavehours) as retval from tblempleave where empid = 000001111 and leavetype = s
DoCmd.RunSQL strSQ
returns a runtime error '2342': A RunSQL action requires an argument consisting of an SQL statement
what am I missing here
tia
JMorrell