|
4#
楼主 |
发表于 2007-7-27 13:56:35
|
只看该作者
使用了的部分脚本
[ ] handle fhdb,fstmnt
[ ] string id,priority,filed,company,name,eleaddress,tradeid,commun,idcard,phone,mbphone,address,traphone,emal,friname,rpayid,installcontent,voltage,elerequest
[ ] string sqlcommand="select 编号,优先级 ,档案袋号, 所属单位,用户名,用电地址,行业号,联系人,身份证,联系电话,移动电话,联系地址,传真电话,EMAIL,法人姓名,纳税号,报装容量,供电电压,用电需求说明 from 100kW及以上番禺20060601 "
[ ] fhdb=DB_connect("DSN=YK;UID=;PWD=;")
[ ]
[ ]
[ ] fstmnt=DB_ExecuteSql(fhdb,sqlcommand)
[ ]
[-] if(DB_FetchNext(fstmnt,id,priority,filed,company,name,eleaddress,tradeid,commun,idcard,phone,mbphone,address,traphone,emal,friname,rpayid,installcontent,voltage,elerequest))
[ ] print("try release id,priority,filed,company,name,eleaddress,tradeid,commun,idcard,phone,mbphone,address,traphone,emal,friname,rpayid,installcontent,voltage,elerequest")
.............................................
[ ]
[ ] DB_FinishSql(fhdb)
[ ]
[ ] DB_Disconnect(fstmnt) |
|