PROFESSIONAL NEWSGROUPS
WINDEV
,
WEBDEV
and
WINDEV Mobile
Home
|
Recent messages
|
Connect
|
Sign out
|
English
Home
→
WINDEV 28
→
Llamado de reportes WDE externos a un proyecto
Llamado de reportes WDE externos a un proyecto
Started by Andres Zerda, Apr., 20 2023 7:32 PM - 2 replies
Connect yourself…
Andres Zerda
#1
Posted on April, 20 2023 - 7:32 PM
Buenos días
Actualmente tengo un un ejecutable en el que llamo un reporte cualquiera, el cual no se encuentra incluido en el proyecto ( y no debe estar), puesto que este puede cambiar según la necesidad de un cliente (pueden ser varios, indeterminados).
Requiero llamar este reporte y que me muestre una vista preliminar, sin embargo, genera un error que indica que no encuentra el reporte (Confirmo el reporte está en la carpeta designada)
Nombre_reporte is string = fCurrentDir()+ "\"+ mi_reporte
iPrintReport(Nombre_reporte)
el error exacto es
"Unable to load code of 'c:\mi_derectorio\mi_reporte.wde' element.
Como lo puedo solucionar sin necesidad de integrar los reportes al proyecto?
Gracias
Report
0
0
Andres Zerda
#2
Posted on April, 28 2023 - 4:50 PM
Buenas tardes
He resuelto el tema con apoyo de otros programadores en Windev
Solo se debe habilitar esta opción
Report
0
0
Amelie AMELIEANDREWS
#3
Registered member
1 message
Posted on May, 24 2023 - 6:16 AM
Hello, verify the file path: Double-check that the file path you are constructing is correct. Make sure the file extension is accurate and the path separators are properly formatted. In your code snippet, you are using backslashes to separate the path components. Ensure that the value of fCurrentDir() and my_report are correct and that they combine to form a valid file path.
Check file permissions: Ensure that the user running the executable has sufficient permissions to access the report file. Make sure the file is not locked by another process and that the user has read access to it.
https://www.caregiverconnect.net/
Report
0
0
→ Go back to WINDEV 28
WINDEV 28
WEBDEV 28
Français
English
Español
Portuguesa
Close this window
Search type
Only topics
All the messages
Search period
Any time
Past hour
Past 24 hours
Past week
Past month
Past year
Cancel
Preview of your message
Adding an image
Import an image from a URL
Send an image from a file of your disk
Drop a file or click "Browse..."
or
Cancel
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Text