急急急!哪位大虾指点迷经
为什么下面这段代码可行?
string rc,org,d
string modstring,where_clause
dw_1.settransobject(sqlca)
org=dw_1.Describe("DataWindow.Table.Select")
d="A2"
where_clause="WHERE Gid>200"
modstring="Datawindow.Table.Select='" + org + where_clause + "'"
rc=dw_1.Modify(modstring)
if rc="" then
dw_1.Retrieve()
end if
可是下面一段不可以?(区别仅仅是Gid为整型,did为字符型)
string rc,org,d
string modstring,where_clause
dw_1.settransobject(sqlca)
org=dw_1.Describe("DataWindow.Table.Select")
d="A2"
where_clause="WHERE Did=A"
modstring="Datawindow.Table.Select='" + org + where_clause + "'"
rc=dw_1.Modify(modstring)
if rc="" then
dw_1.Retrieve()
end if
实在不明白,望指点,不够再加