帮忙改段代码,急!!
db.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=C:\Documents and Settings\Administrator\桌面\02\123.mdb;Persist Security Info=False"
我想将代码中的C:\Documents and Settings\Administrator\桌面\02\123.mdb换成Text1.Text获得的文件路径字符串,也就是db.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source=Text1.Text;Persist Security Info=False为什么不行,请问怎么改[img=http://b86.photo.store.qq.com/psb?/55632252-7b18-4aa7-a492-ef2b259ee381/QU4b5JVmj.vV9*fOV9jwkHocar0UypoE3tXcPTOQpMk!/b/YaCqSDOTMQAAYiYYRDNTKAAA][/img]
[解决办法]
db.Open "Provider=Microsoft.Jet.OLEDB.4.0;Data Source="& Text1.Text &";Persist Security Info=False"