Fórum pq da erro?? #307111
29/12/2005
0
Q.Free;
da um erro de acesso a memoria, alguem saberia me dizer pq??
como vo liberar esse objeto da memoria??
[]s
function TMySQL.fconsulta(csql: string): TADOQuery; var Q: TADOQuery; begin try Screen.Cursor:= crHourGlass; Q:= TADOQuery.Create(Application); Q.Connection:= Self; Q.Close; Q.SQL.Clear; Q.SQL.Text:= csql; Q.Open; result:= Q; Screen.Cursor:= crDefault; finally Q.Free; end; end;
Fernando_cunha
Curtir tópico
+ 0Posts
29/12/2005
Fernando_cunha
nao sei se tem correlacao .. mas ja fica registrado!!
[]s
Gostei + 0
29/12/2005
Michael
Leia o que eu escrevi no outro post e vai entender melhor.
[]´s
P.S: Estou indo embora para casa. Só volto ano q vem.. ;-) Poste suas dúvidas que respondo na segunda-feira.
Gostei + 0
29/12/2005
Fernando_cunha
bom ano novo!!
[]s
Gostei + 0
30/12/2005
Raserafim
filally Q.Close; Q.Free;
Gostei + 0
Clique aqui para fazer login e interagir na Comunidade :)