não consigo realizar esta SQL...retonar erro..
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
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
Curtidas 0
Respostas
Gandalf.nho
08/06/2005
[b:34bdf85888][color=red:34bdf85888]Bloqueado por Infração às Regras de Conduta :[/color:34bdf85888][/b:34bdf85888]
Quadruplicidade.
[url]http://forum.clubedelphi.net/viewtopic.php?p=206227[/url]
[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].
Quadruplicidade.
[url]http://forum.clubedelphi.net/viewtopic.php?p=206227[/url]
[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