<img src="attachments/dvbbs/2006-1/200612414251960867.jpg" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor=\'hand\'; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onclick="if(!this.resized) {return true;} else {window.open(\'attachments/dvbbs/2006-1/200612414251960867.jpg\');}" onmousewheel="return imgzoom(this);" alt="" />
我用数据库存储的过程当中,设计了一个表,现在已经做到可以添加和删除记录,做到更改记录的地方总是报错,提示是数据库语法错误,我拦截到的语句是
UPDATE AnalogInputVoltage SET Max=8.00,Min=7.00,Units=0,Terminal=0 where Channel='Dev1/ai5';
仔细分析并没有语法错误。其中Max和Min在Access中都是double类型,可以成功的添加和删除记录,Terminal是一个enum类型的输出值。现在更改部分的代码总是报错,大家可以看图。
帮忙分析分析。
<img src="attachments/dvbbs/2006-1/200612414255953386.jpg" border="0" onload="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onmouseover="if(this.width>screen.width*0.7) {this.resized=true; this.width=screen.width*0.7; this.style.cursor=\'hand\'; this.alt=\'Click here to open new window\nCTRL+Mouse wheel to zoom in/out\';}" onclick="if(!this.resized) {return true;} else {window.open(\'attachments/dvbbs/2006-1/200612414255953386.jpg\');}" onmousewheel="return imgzoom(this);" alt="" />