关于access数据库连接绝对路径的问题求解
数据库连接提示如下报错,看的出来是页面与数据库连接的问题,现在我的是相对连接。
要怎么将其该成绝对连接呢?我的数据库文件路径在:
D:\web\db
还是要先谢谢大人们帮助小白菜我
Microsoft OLE DB Provider for ODBC Drivers error '80004005'
[Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
/add.asp, line 10
HTML code:
<form name="form1" method="post" action="addmsg.asp">
你的姓名:<input type="text" name="name"><br>
你的电话:<input type="text" name="tel"><br>
你的留言:<input type="text" name="message" value=""><br>
<input type="submit" name="submit" value="提交">
<input type="reset" name="submit2" value="重置">
</form>
<%
set conn= server.createobject("adodb.connection")
conn.open "driver={microsoft access driver(*.mdb)};dbq=" & server.mappath("database\guestbook.mdb")
name=request.form("name")
tel=request.form("tel")
message=request.form("message")
exec="insert into guestbook(username, tel, message) values ('" & name & "', "& tel & &qu
相关问答:
<?php
include("adodb/adodb.inc.php");
$db = &NewADOConnection("access");
$access = realpath("Data.mdb");
$dsn = "Provider=Microsoft.J ......
问题如下:
用查询语句
select * from tab where fil like 'CK090902'能查找出一条记录并显示出来
改为
select * from tab where fil = 'CK090902'
就不能查找到,也显示不出来 ......
唉,由于不慎,操作打包软件的时间把我做的系统弄丢了,真是无奈,现在有出现新的问题了,以前还好好的,这是我将ECXEL导入ACCESS的代码。
Private Sub Command1_Click()
ExportExcelSheetToAccess " ......
Access中的按窗体筛选是什么意思?
Me.存书查询子窗体.Form.Filter = strWhere
Me.存书查询子窗体.Form.FilterOn = True
实际上就是按子窗体的过滤条件进行筛选
实际上就是按子窗体的过滤条 ......
表结构:
ProductSeriesID 自动编号
ProductSeriesName 文本
ProductSeriesRemark 备注
执行前
ProductSeriesID ProductSeriesName ProductSeriesRemark
2 LV铣刀系列 LV铣刀系列
3 钨钢舍 ......