Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Call Crystal Report from Flex with parameter

Status
Not open for further replies.

ddozer

MIS
May 3, 2010
12
US
I found some info on the portal about calling a custom crystal from flex in ES and I have been able to get a test report to work, but I want to pass a parameter value to the report automatically without having to prompt the user. here is my code for calling the report from a button added to the voucher entry screen:

Private Sub OrderData_Click()
Shell "c:\program files\exact software\bin\reportspawner.exe -r" & Chr(34) & _
"PROAMSQL" & Chr(34) & " -D" & Chr(34) & "411" & Chr(34) & _
" -u -T6 -~ -N" & Chr(34) & "PO_Report_Test" & Chr(34)
End Sub

I'd like to be able to pass in the value that the user enters in the PO number field then have them hit the button to run the report. Does anyone know the syntax to accomplish this?

Thanks,
Dave
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top