qry.sql.add('select GR.GRNAME from GR,ZLBM where GR.ZLBMID=ZLBM.ZLBMID and ZLBM.ZLBMNAME=:z');
DELPHI中不支持这样的访问,你用:
String sql;
sql = ''select GR.GRNAME from GR,ZLBM where GR.ZLBMID=ZLBM.ZLBMID and ZLBM.ZLBMNAME=''%s''';
sql.format(sql,[z]);来转换就可以的
DELPHI中不支持这样的访问,你用:
String sql;
sql = ''select GR.GRNAME from GR,ZLBM where GR.ZLBMID=ZLBM.ZLBMID and ZLBM.ZLBMNAME=''%s''';
sql.format(sql,[z]);来转换就可以的
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货