Jump to content

dev botao

  • Este tópico foi criado há 2692 dias atrás.
  • Talvez seja melhor você criar um NOVO TÓPICO do que postar uma resposta aqui.

Recommended Posts

Posted

Boa tarde, a todos.

Ao realizar a impressão de um Guia, ocorreu o seguinte erro:

could not convert variant of type (String) into type (Integer)

No arquivo fonte  pgnreGNRER, temos na linha  151 o seguinte:

GNRE.referencia.ano     := Leitor.rCampo(tcStr, 'ano');

 

O problema ocorre porque a propriedade ano é do tipo Integer, o leitor está pegando um campo "tcStr", mudei para "tcInt" e funcionou.

Acredito que tenha que mudar isso no projeto.

Grato.

 

  • Este tópico foi criado há 2692 dias atrás.
  • Talvez seja melhor você criar um NOVO TÓPICO do que postar uma resposta aqui.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

We have placed cookies on your device to help make this website better. You can adjust your cookie settings, otherwise we'll assume you're okay to continue.

The popup will be closed in 10 seconds...