Relatorio com problema...SQL...

Delphi

03/06/2005

Olá,

Tenho a seguinte sql e estou usando interbase :

with Qry1 do
begin
Qry1.Close;
sSQL := ´Select * from contrato´;
SQL.Clear;
SQL.Add(sSQL);
Qry1.Prepare;
Qry1.Open;
End;
QuickRep1.Prepare;
vPgs := QuickRep1.QRPrinter.PageCount;
if Application.MessageBox(´Enviar direto para Impressora?´,´Impressão´,mb_yesno+mb_iconquestion) = IDNO then
QuickRep1.Preview
else
QuickRep1.Print;
Qry1.Close;


quando executo a opção de preview ou printer ela me retorna o seguinte erro :

Control ´´ has no parent widget

so que não tenho nenhum campo de nome control ou qualquer componente com este nome tambel no quickrep1

algum ja passou por esta situação

Valeu


Cavalcanti.fabio

Cavalcanti.fabio

Curtidas 0

Respostas

Gandalf.nho

Gandalf.nho

03/06/2005

[b:59606cac54][color=red:59606cac54]Bloqueado por Infração às Regras de Conduta :[/color:59606cac54][/b:59606cac54]

Triplicidade.
[url]http://forum.clubedelphi.net/viewtopic.php?t=63762[/url]
[url]http://forum.clubedelphi.net/viewtopic.php?t=63700[/url]

Para maiores esclarecimentos pode mandar-me uma [url=http://forum.clubedelphi.net/privmsg.php?mode=post&u=8378]Mensagem Particular[/url].


GOSTEI 0
POSTAR