¿Cómo verificar si no se recuperan filas del comando en Crystal Report?
Frecuentes
Visto 977 equipos
0
How to check if no rows retrieve from command in crystal report?
2 Respuestas
0
contestado el 28 de mayo de 14 a las 14:05
0
When do you want to "check" ?
"If you want to catch it in your form, you would need to have some code in the form perform the same query that the report will perform and see if there are any records returned before loading the report. Then you can show your message box and cancel before the report is loaded." - David Stratton (Original thread aquí)
Specifically in the report? See este artículo
It seems if you want to do this in the report itself you'll essentially be using the same method you would be in your program, by using a Count()
of the rows returned.
I think this would be somewhat similar to HasData
property in VBA.
Here is also another o fresa de hueso denso related to what you're asking.
¿Has probado algo?
contestado el 23 de mayo de 17 a las 13:05
No es la respuesta que estás buscando? Examinar otras preguntas etiquetadas sql vb.net crystal-reports or haz tu propia pregunta.