ODBC 驱动程序不支持所需的属性。

godbirdhu 2002-05-21 05:14:14
我做一个查询方面的程序
数据库是别人给我的,foxpro的
我按照其他类型的字段查询的时候都很正常
就是做到按日期类型查询时有这样的错误
不知道该如何做?
...全文
105 18 打赏 收藏 转发到动态 举报
写回复
用AI写文章
18 条回复
切换为时间正序
请发表友善的回复…
发表回复
godbirdhu 2002-05-21
  • 打赏
  • 举报
回复
还是没人里我
godbirdhu 2002-05-21
  • 打赏
  • 举报
回复
我只有狂灌了
godbirdhu 2002-05-21
  • 打赏
  • 举报
回复
大家不感兴趣?
nosmoke 2002-05-21
  • 打赏
  • 举报
回复
我一筹莫展
nosmoke 2002-05-21
  • 打赏
  • 举报
回复
与数据库有没有关系?
与foxpro 有没有关系
nosmoke 2002-05-21
  • 打赏
  • 举报
回复
我等了好久
godbirdhu 2002-05-21
  • 打赏
  • 举报
回复
我们的网怎么了哦,这么慢
godbirdhu 2002-05-21
  • 打赏
  • 举报
回复
help
godbirdhu 2002-05-21
  • 打赏
  • 举报
回复
help
nosmoke 2002-05-21
  • 打赏
  • 举报
回复
<html>

<head>
<title>按出版年月查询</title>
</head>

<body >
<%
dim chubannianyue
dim var '传给allinfo.asp的参数
dim pages '查询的记录共有多少条记录?
dim maxcounts '每页需要放多少条记录
dim currentpage '当前页数
dim recordcounts '总记录数
maxcounts=30


if isempty(Request.QueryString("chubannianyuenext")) then
chubannianyue=trim(Request.Form("chubannianyue"))
else
chubannianyue=Request.QueryString("chubannianyuenext")
end if
chubannianyue=datevalue(chubannianyue)



dim chubannianyuenext '给下一次调用该页的时候传递chubannianyue的值

'chubannianyue=Request.Form("chubannianyue")
if not isempty(Request.QueryString("currentpage")) then
currentpage=cint(Request.QueryString("currentpage"))
else
currentpage=1
end if

set rs1=Server.CreateObject("ADODB.RecordSet")
str1="select * from tsk where 出版年月= '%"&chubannianyue&"%'"
rs1.open str1 ,"DSN=library",3,3**********************************************************************************36行
if not rs1.EOF then
recordcounts=rs1.recordcount
pages=cint(recordcounts/maxcounts +1)
%>

<table width=760 border="0" cellspacing="0" cellpadding="0">
<tr>
<td bgcolor="#CCFFFF" height="24" width=760>
<div align="left"><font color="#000099">共有<%=recordcounts%>条记录,当前是第<%=currentpage%>页 我要到第
<%
dim j
j=1
while j<=pages

Response.Write ("|")
%>
<a href=chubannianyuesearch.asp?currentpage=<%=server.urlencode(Response.Write(j))%>&chubannianyuenext=<%=server.urlencode(chubannianyue)%>>
<%=Response.Write(j)%>
</a>
<%

j=j+1
wend


%>




页去</font></div>
</td>
</tr>
</table>
<p>
<table width="760" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="160">分类号</td>
<td width="600">正题名</td>
</tr>


<%

dim i
i=0


if currentpage>1 then
if (currentpage-1)*maxcounts<recordcounts then

rs1.Move (currentpage-1)*maxcounts
Response.Write (rs1.eof)
end if
end if

while not rs1.EOF and i<maxcounts and not rs1.BOF
i=i+1

%>

<tr>
<td width="160"><%Response.Write (rs1(0))%></td>
<td width="600">
<!--<form name="form1" method="post" action="allinfo.asp">
<input type="text" name="textfield" size="50" value=<%=rs1(4)%>>
<input type="submit" name="Submit" value="查看详细资料">
</form>
<%=rs1(1)%> <%=rs1(2)%> <%=rs1(3)%> <%=rs1(4)%> <%=rs1(5)%> <%=rs1(6)%> <%=rs1(7)%> <%=rs1(8)%>>
-->
<% var=rs1(4)%>
<% server.urlencode(var)%>
<a href=allinfo.asp?var=<%=server.urlencode(rs1(4))%>><%=rs1(4)%></a>

</td>
</tr>



<%

rs1.MoveNext
Wend
else
Response.Write("没有找到满足条件的记录!")
end if


rs1.close

%>

</table>



</body>
</html>
nosmoke 2002-05-21
  • 打赏
  • 举报
回复
Microsoft OLE DB Provider for ODBC Drivers 错误 '80040e21'

ODBC 驱动程序不支持所需的属性。

/wwwlibrary/chubannianyuesearch.asp, 行36
nosmoke 2002-05-21
  • 打赏
  • 举报
回复
** ** *********** *** **********
** ** *********** ** *** **
** ** ** ** *** **
** ** ** ** *** **
********** ********** ** ********
********** ********** ** *****
** ** ** ** ***
** ** ************* ************* ***
** ** ************* ************* ***
popcode 2002-05-21
  • 打赏
  • 举报
回复
错误提示?
nosmoke 2002-05-21
  • 打赏
  • 举报
回复
help
nosmoke 2002-05-21
  • 打赏
  • 举报
回复
怎么这么慢?
godbirdhu 2002-05-21
  • 打赏
  • 举报
回复
怎么这么慢?
godbirdhu 2002-05-21
  • 打赏
  • 举报
回复
怎么这么慢?
godbirdhu 2002-05-21
  • 打赏
  • 举报
回复
怎么这么慢?
内容概要:本文围绕基于Basisformer模型的时间序列锂离子电池SOC(State of Charge,荷电状态)预测展开研究,利用PyTorch框架实现深度学习模型的构建与训练。通过将历史充放电数据作为输入,Basisformer能够有效捕捉电池状态的动态变化特征,提升SOC预测精度。文中详细介绍了模型结构设计、数据预处理流程、训练策略及实验结果分析,并与传统方法进行对比,验证了该方法在复杂工况下的优越性与鲁棒性。该研究不仅展示了Basisformer在时序建模中的潜力,也为电池管理系统提供了高精度的状态估计解决方案。; 适合人群:具备一定Python编程基础和深度学习理论知识,熟悉PyTorch框架,从事电池管理系统、新能源汽车或智能预测方向研究的研究生、科研人员及工程技术人员。; 使用场景及目标:①应用于电动汽车、储能系统等领域的电池SOC高精度实时估算;②为电池健康管理(BMS)提供可靠的状态输入;③推动深度学习在时间序列预测中的实际落地,提升现有预测模型的泛化能力与稳定性; 阅读建议:建议读者结合标题为【锂电池SOC估计】【PyTorch】基于Basisformer时间序列锂离子电池SOC预测研究(python代码实现)的资源,重点研读所提供的Python代码,深入理解数据处理方式与模型网络结构的设计思路,尝试调整超参数以观察对预测性能的影响,从而全面掌握Basisformer在时序建模中的优势、适用边界及工程化实现路径。

28,404

社区成员

发帖
与我相关
我的任务
社区描述
ASP即Active Server Pages,是Microsoft公司开发的服务器端脚本环境。
社区管理员
  • ASP
  • 无·法
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧