GRUPOS DE DISCUSSÃO PROFISSIONAL
WINDEV
,
WEBDEV
e
WINDEV Mobile
Inicio
|
Mensagens recentes
|
Conecte-se...
|
Disconnect
|
Português
Inicio
→
WEBDEV 2024
→
passing parameters to a report
passing parameters to a report
Iniciado por Paul Ashton, fev., 25 2020 11:12 AM - 1 resposta
Conecte-se…
Paul Ashton
#1
Publicado em fevereiro, 25 2020 - 11:12 AM
Hi all,
Can anyone help me with the following issue.
I've created a report in WEBDEV (RPT_Vehicle_Summary ) which has the following parameters....Pstartdate, Penddate,Pvehicleregistration.
I can get the report to run by opening it up and pressing the GO button and entering the parameters for testing but I've created a report range page (PAGE_Vehicle_Report_Range) which has EDT_Start_Date, EDT_End_Date and EDT_Vehicle_Registration on it with a BTN_Print_Report on it.
How do I pass the parameters from the PAGE_Vehicle_Report_Range window to the RPT_Vehicle_Summary window from my BTN_Print_Report button?
I've tried the following code but it's not giving me any data back
iDestination
(
iGenericPDF
)
iInitReportQuery
(
RPT_Vehicle_Summary
,
E
DT_Start_Date
,
E
DT_End_Date
,
E
DT_Vehicle_Registration
)
iPrintReport
(
RPT_Vehicle_Summary
)
FileDisplay
(
iLastFile
(
)
,
"application/pdf"
)
Thank you
Paul.
Denunciar
0
0
CJB
#2
Publicado em fevereiro, 26 2020 - 3:41 PM
Hi!
I use:
iSequencingAdd(parameter1, parameter2, ...)
iPreview() // Open the preview window
iSequencingPrint()
Denunciar
0
0
→ Voltar para WEBDEV 2024
WINDEV 2024
WEBDEV 2024
WINDEV Mobile 2024
WINDEV (versões anteriores)
Français
English
Español
Portuguesa
Fermer cette fenêtre
Tipo de Pesquisa
Apenas tópicos
Todas as mensagens
Período de pesquisa
Qualquer momento
Última hora
Últimas 24 horas
Semana passada
Mês passado
Ano passado
Cancelar
Pré-visualização da sua mensagem
Adicionar imagem
Importar uma imagem de uma URL
Enviar uma imagem a partir do seu disco
Deixe um ficheiro ou clique em "Procurar ..."
ou
Cancelar
0%
WLanguage
SQL
XML, HTML
JAVA, Javascript
Texto