hidrau
asked on
What is the best way to do this in Delphi?
I need to create a adoquery in execution time.
what is the best way to create, with application or nil in create?
var
TQ : Tadoquery;
begin
TQ := Tadoquery.create(Applicati on)
OR
TQ := Tadoquery.create(Nil)
end;
End to destoy it?
TQ.Close;
FreeAndNil(TQ)
Or
TQ.free
Thanks
what is the best way to create, with application or nil in create?
var
TQ : Tadoquery;
begin
TQ := Tadoquery.create(Applicati
OR
TQ := Tadoquery.create(Nil)
end;
End to destoy it?
TQ.Close;
FreeAndNil(TQ)
Or
TQ.free
Thanks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
thanks
ASKER