请教高手急急急,关于query组件中引用sql语句的问题! 'select sum(fieldname) as abc from table where number='''(edit1.text)+''''showmessage(query.fieldByName('abc').AsString) 解决方案 » 免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货 在信息中写inttostr(query1.fields[0].asinteger)或floattostr(query1.fields[0].asinteger) 同意上面的:'select sum(fieldname) as abc from table where number='''(edit1.text)+''''取的值是 :=query.fieldByName('abc').AsString;showmessage(query1.fieldByName('abc').AsString) VC用得太菜了,帮忙翻译一段程序.... 高分求win98,xp,2000下读取IDE/SCSI硬盘出厂序列号代码,且不需要管理员权限。 一个简单的基础操作问题,希望各位不要笑话,不吝赐教? 如何将exe文件伪装成txt用附件发给俺的老板 送分啦!~~~回答好的送500分 关于过程声明 Delphi+SQL SERVER 高手请进!!!!!!!!!!!!!! 关于KBmmw三层控件的问题。 我真的想学delphi............. 控件制作谁来告诉我 小问一个文件的问题
或floattostr(query1.fields[0].asinteger)
'select sum(fieldname) as abc from table where number='''(edit1.text)+''''
取的值是 :=query.fieldByName('abc').AsString;showmessage(query1.fieldByName('abc').AsString)