on 2022 Jul 13 12:58 PM
Título Original: RPT gerado a partir de uma aplicação Delphi mostra janela Diálogo de Parâmetros quando abre um viewer utilizando SDK .Net 64-bits
Possuo uma aplicação criada em Delphi que utiliza o Crystal Reports para gerar os relatórios salvando os mesmos no formato "RPT com Dados" e quando tento abrir o RPT gerado utilizando uma aplicação criada com o SDK .Net 64-bits para visualizar o relatório é mostrada a janela de Diálogo dos Parâmetros.
Esse problema não ocorre com a versão 32-bits.
Por favor, poderiam me ajudar a resolver esse problema?
-----------------------------------------------------------
Original Tittle: "RPT generated from a Delphi application shows Parameter Dialog window when opening a viewer using 64-bit .Net SDK"
I have an application created in Delphi that uses Crystal Reports to generate the reports saving them in the format "RPT with Data" and when I try to open the RPT generated using an application created with the 64-bit .Net SDK to view the report a Parameter Dialog window is shown.
This problem does not occur with the 32-bit version.
Please could you help me solve this problem?
If the issue is not 64-bit data connectivity, the next suspect is a UFL.
If the report uses a 32-bit User Function Library (UFL), the 64-bit runtime would choke on any formula that uses the 32-bit UFL and the saved data would be discarded.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
No it's not, both use common dll's so don't mix them.
Check the Viewer Properties, ReUseParameter... should be set to false.
Change your project to X64 first.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You are mixing version, Once you upgrade to SP 32 you will see only CR for VS SP 32 installed.
Note: EXE is for your development PC, x86 and x32 is for deploying to your app server.
Likely cause is you are mixing version.
Clean up your PC, too many mixed versions installed.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The parameter dialog is probably due to having dynamic parameters that are failing to connect to the data source.
Make sure the machine has the correct 64bit data source driver.
The out of memory issue is probably a different issue.
Test the effect of resizing the image outside Crystal -- not inside Crystal.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Olá Don, como vai?
Obrigado pelo retorno, porém, o problema da janela de parâmetros não ocorre usando a versão do Runtime 32-bits.
Testei a compilação de um visualizador de 64-bit pro Crystal usando várias versões dos Runtimes disponíveis no site da SAP e sempre apresenta a tela de diálogo dos parâmetros na abertura de alguns RPT salvos com dados.
Essa é a lista do que tem de Crystal instalado no computador:
Se tento abrir o RPT gerado pelo Visualizador do SAP, mostra a mensagem de que o RPT não foi salvo com dados.
Se tento abrir o RPT gerado pela aplicação compilada em 64-bit, apresenta a janela de parâmetros.
Se tento abrir o RPT gerado pela aplicação compilada em 32-bit, abre normalmente. Porém, se o RPT tiver muitas páginas, mais de 60 e utilizar alguma imagem no cabeçalho de 32x32 pixels, ocorre erro de memória insuficiente.
A configuração do computador onde estou testando é :
------------------------
Hi Don, how are you?
Thanks for the feedback, however, the parameter window problem does not occur using the 32-bit Runtime version.
I have tested compiling a 64-bit pro Crystal viewer using several versions of the Runtimes available on the SAP website and it always shows the parameters dialog screen when opening some RPT saved with data.
This is the list of what Crystal is installed on your computer:
If I try to open the RPT generated from the SAP Viewer, it displays the message that the RPT has not been saved with data.
If I try to open the RPT generated by the 64-bit compiled application, it displays the parameters window.
If I try to open the RPT generated by the 32-bit compiled application, it opens normally. However, if the RPT has many pages, more than 60 and uses some image in the header of 32x32 pixels, it gets an insufficient memory error.
The configuration of the computer where I am testing is :
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
What SP are you using?
Get SP 32 from here:
https://wiki.scn.sap.com/wiki/display/BOBJ/Crystal+Reports%2C+Developer+for+Visual+Studio+Downloads
At some point, I forget which SP it was, you now must log onto the DB before setting the Parameters.
If the report is based on a Stored procedure that's a must.
And if the log on fails or there are missing parameters it will prompt you for them.
Or if you are using an old SP tht used Flash to handle CR Parameters then due to flash being deprecated and likely removed it can cause the parameter UI to fail, we ow use HTML5 to prompt.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
69 | |
13 | |
11 | |
10 | |
9 | |
9 | |
6 | |
6 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.