易截截图软件、单文件、免安装、纯绿色、仅160KB

ado连接,ACCESS查询

sql命令如下,我设置的 EN字段不允许重复,在更新数据库的时候,使用
pRecordset->Open(_variant_t(SqlCmd),_variant_t((IDispatch *)Info.pConnection,true),adOpenStatic,adLockOptimistic,adCmdText);
如数据库中没有该记录则添加,有的话就更新该记录的其他字段,
执行两次如下命令的添加或更新操作,第一次数据库中无该记录,正常添加,第二次程序执行时仍旧查询不到该记录,再次添加的时候却因为数据库设置的禁止EN字段重复报错 IDispatch error #3105  
如果把该EN字段长度压缩至255或以下执行正常,只要超过255仍旧报错
EN字段设置为 备注格式,索引,禁止重复

求高手指导

select * from sentencetable where EN = '1.fuel rail pressure inspection\n2.Rail pressure monitoring Control variation < 1500/min (rpm)\n3.Rail pressure monitoring Control variation < 1500/min (rpm)\n4.Rail pressure monitoring Control variation > 1500/min (rpm)\n5.Rail pressure monitoring Control variation > 1500/min (rpm)\n6.Rail pressure monitoring Leakage\n7.Rail pressure monitoring Leakage\n8.Rail pressure monitoring The maximum pressure has been exceeded.\n9.Rail pressure monitoring The maximum pressure has been exceeded.\n10.Rail pressure monitoring The pressure control valve jams in the closed position.\n11.Rail pressure monitoring The pressure control valve jams in the closed position.\n12.Rail pressure monitoring The rail pressure cannot be built up.\n13.Rail pressure monitoring The rail pressure cannot be built up.\n14.Rail pressure monitoring The rail pressure is to


相关问答:

如何将access里面的附件保存到磁盘上呢

请大侠指点,跪谢了,最好有代码
要用到ADOX对象,查下帮助文档,
http://hyadliujing.blog.163.com/blog/static/4484507420091020969233/?mode=edit

没有找到啊 看了你的博客了,我是想将access里面的附件保存 ......

VC中 odbc访问access内存增长

vc中用odbc的方法访问access数据库,用到了cdatabase类和crecordset类。数据源在窗口初始化的时候被打开g_datasource.Open("data",FALSE,FALSE); 点击一个按钮启动一个定时器,在定时器内完成以下操作,定 ......

linux不能访问access - Java / Java EE

rt,我试了网上直连Acces数据库的方法,windows下没有问题,但是在linux下不行,谁能给点提示?谢谢
你怎么连的?

Acces数据库..
你怎么练的呢?

Java code:

static String DBDRIVER = "sun.jd ......

64 bit如何写Driver去Access IO - VC/MFC / 硬件/系统

请问有人知道如何在kernel mode 下写64 bit driver, 可以将IO bitmap 打开,
32bit可以用Ke386SetIoAccessMap和Ke386IoSetAccessProcess,
请問64 bit driver有类似的functiona吗?
没弄过。
Google的:htt ......
© 2009 ej38.com All Rights Reserved. 关于E健网联系我们 | 站点地图 | 赣ICP备09004571号