阅读:1143回复:0
[求助]语法错误(操作符丢失)在查询表达式中
<P>VBA+AO的代码</P>
<P> Set pQueryFilter = New QueryFilter<BR> pQueryFilter.WhereClause = "OID=" + str(pRectGridNum)<BR> Set pCursor = pTable.Search(pQueryFilter, False)<BR> <BR> Dim pRow As IRow<BR> Set pRow = pCursor.NextRow<BR> <BR> pRow.Value(pTable.FindField("网格编号")) = pRectGridNum<BR> <BR> pRow.Store</P> <P>pRectGridNum的值类型为Long型 运行到 pRow.Store这行时就提示语法错误操作符丢失 在查询表达式“1-1顶板标高”中 </P> <P>1-1顶板标高是Acess数据库的例外一个字段名 </P> <P>哪位高手帮我指教一下 在此先谢谢了 </P> |
|