主题:急!!!用DELPHI7怎么动态建SQL数据库
wangshixu
[专家分:0] 发布于 2006-07-26 18:18:00
急!!!用DELPHI7怎么动态建SQL数据库,
回复列表 (共1个回复)
沙发
lcguang [专家分:30] 发布于 2006-07-28 22:55:00
改写sql语句比如:
query2.sql.clear;
query2.sql.add('select wth as ίÍкÅ,qsdm as ȯÉÌ´úÂë,qs as ȯÉÌ,zjzh as ×ʽðÕʺÅ,'+
'gddm as ¹É¶«´úÂë,lx as ÀàÐÍÂë,lxm as ÀàÐÍÃû,code as ´úÂë,name as Ãû³Æ,bs as ¶à¿Õ, amt as ÊýÁ¿,'+
'price1 as ¼Û¸ñ1, date1 as ÈÕÆÚ1, price2 as ¼Û¸ñ2, date2 ÈÕÆÚ2,inc as ÔöÖµÂÊ');
query2.sql.add('From "tr2.dbf"');
我来回复