Y
yjding
Unregistered / Unconfirmed
GUEST, unregistred user!
我在利用DELPHI编写WEB页时(响应用户输入的数据查询),在WEBMODULE中增加了TQUERY、QUERYTABLEPRODUCER,在WEBITEM1ACTION事件中使用了如下命令:
QUERY1.SQL.CLEAR;
QUERY1.SQL.ADD('SELECT * FROM COUNTRY.DB WHERE CAPITAL=REQUERST.CONTENTFIELDS.VALUES['SEARCHVAR']');
QUERY1.OPEN;
RESPONSE.CONTENT:=QUERYTABLEPRODUCER1.CONTENT;
可在浏览器中出现找不到QUERY1.中的SEARCHVAR变量
请教各位高手,帮我解决
QUERY1.SQL.CLEAR;
QUERY1.SQL.ADD('SELECT * FROM COUNTRY.DB WHERE CAPITAL=REQUERST.CONTENTFIELDS.VALUES['SEARCHVAR']');
QUERY1.OPEN;
RESPONSE.CONTENT:=QUERYTABLEPRODUCER1.CONTENT;
可在浏览器中出现找不到QUERY1.中的SEARCHVAR变量
请教各位高手,帮我解决