Ir ao conteúdo

Undeclared identifier.


Visitante: Erialdo Junior

Posts recomendados

Visitante: Erialdo Junior
 
Postado

Olá galera, boa noite!

Estou com um errinho chato, gostaria que alguém pode-se me ajudar.

Codigo tá assim:


unit U_TERM_SAIDA;

interface

uses
Windows, Messages, SysUtils, Variants, Classes, Graphics, Controls, Forms,
Dialogs, QRCtrls, jpeg, QuickRpt, ExtCtrls;

type
TF_TERM_SAIDA = class(TForm)
QuickRep1: TQuickRep;
QRBand1: TQRBand;
QRLabel1: TQRLabel;
QRLabel2: TQRLabel;
QRLabel3: TQRLabel;
QRLabel4: TQRLabel;
QRLabel5: TQRLabel;
QRLabel6: TQRLabel;
QRLabel7: TQRLabel;
QRImage1: TQRImage;
QRLabel8: TQRLabel;
QRLabel9: TQRLabel;
QRLabel10: TQRLabel;
QRLabel11: TQRLabel;
QRImage2: TQRImage;
QRDBText1: TQRDBText;
QRDBText3: TQRDBText;
QRDBText5: TQRDBText;
QRDBText6: TQRDBText;
QRLabel12: TQRLabel;
QRLabel13: TQRLabel;
QRLabel14: TQRLabel;
QRDBText4: TQRDBText;
QRLabel15: TQRLabel;
QRLabel16: TQRLabel;
QRImage3: TQRImage;
QRLabel17: TQRLabel;
QRDBText7: TQRDBText;
QRLabel18: TQRLabel;
QRLabel19: TQRLabel;
QRLabel20: TQRLabel;
QRLabel21: TQRLabel;
QRLabel22: TQRLabel;
QRLabel24: TQRLabel;
QRLabel23: TQRLabel;
QRLabel25: TQRLabel;
QRLabel26: TQRLabel;
QRLabel27: TQRLabel;
QRLabel28: TQRLabel;
QRLabel29: TQRLabel;
QRLabel30: TQRLabel;
QRLabel31: TQRLabel;
QRLabel32: TQRLabel;
QRDBText2: TQRDBText;
procedure QRBand1BeforePrint(Sender: TQRCustomBand;
var PrintBand: Boolean);
private
{ Private declarations }
public
{ Public declarations }
end;

var
F_TERM_SAIDA: TF_TERM_SAIDA;

implementation

uses U_CAD_CEL, U_CAD_COLAB, U_DADOS, U_CAD_LINHAS, u_cad_usua, U_LOGIN,
U_MENU, U_TERM_DEVO;

{$R *.dfm}

procedure TF_TERM_SAIDA.QRBand1BeforePrint(Sender: TQRCustomBand;
var PrintBand: Boolean);
var
dia,mes,ano:word;
m:string;
begin
DecodeDate(f_dados.Q_RESPONSAVELData_Entrega.Value,ano,mes,dia);
if(mes=1) then m:='Janeiro';
if(mes=2) then m:='Fevereiro';
if(mes=3) then m:='Março';
if(mes=4) then m:='Abril';
if(mes=5) then m:='Maio';
if(mes=6) then m:='Junho';
if(mes=7) then m:='Julho';
if(mes=8) then m:='Agosto';
if(mes=9) then m:='Setembro';
if(mes=10) then m:='Outubro';
if(mes=11) then m:='Novembro';
if(mes=12) then m:='Dezembro';

qrlabel16.Caption:='Fortaleza '+inttostr(dia)+' de '+m+' de '+inttostr(ano);

end;

end.

E peguei esse erro.

[Error] U_TERM_SAIDA.pas(79): Undeclared identifier: 'Q_RESPONSAVELData_Entrega'

[Error] U_TERM_SAIDA.pas(79): Not enough actual parameters

[Error] U_TERM_SAIDA.pas(80): ';' expected but 'IF' found

[Error] U_TERM_SAIDA.pas(95): '.' expected but ';' found

[Fatal Error] U_CAD_COLAB.pas(69): Could not compile used unit 'U_TERM_SAIDA.pas'

att,

Postado

amigo você deve ter feito alguma alteracao no banco e n adicionou novamente os campos no delphi

outro erro é sobre a ausencia e algum ponto e virgula

Arquivado

Este tópico foi arquivado e está fechado para novas respostas.

Sobre o Clube do Hardware

No ar desde 1996, o Clube do Hardware é uma das maiores, mais antigas e mais respeitadas comunidades sobre tecnologia do Brasil. Leia mais

Direitos autorais

Não permitimos a cópia ou reprodução do conteúdo do nosso site, fórum, newsletters e redes sociais, mesmo citando-se a fonte. Leia mais

×
×
  • Criar novo...

Ebook grátis: Aprenda a ler resistores e capacitores!

EBOOK GRÁTIS!

CLIQUE AQUI E BAIXE AGORA MESMO!