L lingm Unregistered / Unconfirmed GUEST, unregistred user! 2004-01-13 #1 如何把Fmain.AdoQuery赋予a 然后可以像a.open或a.colse这样使用 谢谢大家了
J jobsxy Unregistered / Unconfirmed GUEST, unregistred user! 2004-01-13 #2 var a: Tadoquery; begin a := tadoquery(self); a.assign(fmain.adoquery); .... a.open; .... a.close; a.free; end;
var a: Tadoquery; begin a := tadoquery(self); a.assign(fmain.adoquery); .... a.open; .... a.close; a.free; end;