Guest_imported
New member
- Jan 1, 1970
- 0
i am getting this error:
ODBC Error Code = S1C00 (Driver not capable)
[Microsoft][ODBC SQL Server Driver]Optional feature not implemented
The error occurred while processing an element with a general identifier of (CFSTOREDPROC), occupying document position (161:10) to (161:81) in the template file D:\STORAGE\CUSTOMER FILES\INTRANET\COMMON\INCLUDES\INCLUDE_REPORT_CUSTOMER_NEW.CFM.
when running this stored proc:
<cfstoredproc procedure="spGetHourDetails" datasource="#appDataSource#">
<cfprocparam type="In" cfsqltype="CF_SQL_INTEGER" dbvarname="@intprojectID" value="#get_Projects.projectid#">
<cfprocparam type="in" cfsqltype="CF_SQL_DATE" dbvarname="@dteToDate" value="#toDate#">
<cfprocparam type="in" cfsqltype="CF_SQL_DATE" dbvarname="@dteFromDate" value="#fromDate#">
<cfprocresult name="sum_hours">
</cfstoredproc>
which, in the procedure, has this code.
CREATE PROCEDURE spGetHourDetails
as declare
@intProjectID int,
@dteFromDate datetime,
@dteToDate datetime
select hours.* , workcode.*
from hours, workcode
where hours.Projectid = @intProjectID
and hours.workcode = workcode.id
and hours.workdate >= @dteFromDate
and hours.workdate <= @dteToDate
order by workcode.code
any ideas?
ODBC Error Code = S1C00 (Driver not capable)
[Microsoft][ODBC SQL Server Driver]Optional feature not implemented
The error occurred while processing an element with a general identifier of (CFSTOREDPROC), occupying document position (161:10) to (161:81) in the template file D:\STORAGE\CUSTOMER FILES\INTRANET\COMMON\INCLUDES\INCLUDE_REPORT_CUSTOMER_NEW.CFM.
when running this stored proc:
<cfstoredproc procedure="spGetHourDetails" datasource="#appDataSource#">
<cfprocparam type="In" cfsqltype="CF_SQL_INTEGER" dbvarname="@intprojectID" value="#get_Projects.projectid#">
<cfprocparam type="in" cfsqltype="CF_SQL_DATE" dbvarname="@dteToDate" value="#toDate#">
<cfprocparam type="in" cfsqltype="CF_SQL_DATE" dbvarname="@dteFromDate" value="#fromDate#">
<cfprocresult name="sum_hours">
</cfstoredproc>
which, in the procedure, has this code.
CREATE PROCEDURE spGetHourDetails
as declare
@intProjectID int,
@dteFromDate datetime,
@dteToDate datetime
select hours.* , workcode.*
from hours, workcode
where hours.Projectid = @intProjectID
and hours.workcode = workcode.id
and hours.workdate >= @dteFromDate
and hours.workdate <= @dteToDate
order by workcode.code
any ideas?