TOPIC: Passing Parameters Out Via Hyperlink

Passing Parameters Out Via Hyperlink 03 Mar 2012 00:55 #963

  • darthmus
  • darthmus's Avatar
  • Offline
I am using hyperlinks to pass parameters to a .exe file. In crystal reports this works well, it starts the .exe and the parameters are passed successfully. In Logicity I get a "Crystal Report Windows Forms Viewer" error that states "The system cannot find the file specified". If I strip the parameters out of the hyperlink then Logicity calls the .exe successfully. Does Logicity support passing parameters out, is this a Pro version only feature? Has anyone else run across this? Thanks for any help.
The administrator has disabled public write access.

Re:Passing Parameters Out Via Hyperlink 05 Mar 2012 20:33 #965

  • sduranceau
  • sduranceau's Avatar
  • Offline
This link should help you with what you need.
Although, I am not quite sure if this will work with hyperlinks or not.
I hope this helps!
-Devin
The administrator has disabled public write access.

Re:Passing Parameters Out Via Hyperlink 06 Mar 2012 00:20 #966

  • darthmus
  • darthmus's Avatar
  • Offline
Delvin - thanks for the reply, what I am trying it do is very similar to the link you provided but instead of trying to pass parameters into the report I am trying to pass parameters out as command line arguments via hyperlink. My hyperlink ends up looking like \\filepath...\filename.exe {parameter1} {parameter2}. From Crystal Reports this calls the .exe file and the arguments are passed. It seems like the space between the filename and the parameters trips up something in Logicity preventing the .exe from ever being called.
Attachments:
The administrator has disabled public write access.

Re:Passing Parameters Out Via Hyperlink 08 Mar 2012 22:39 #967

  • darthmus
  • darthmus's Avatar
  • Offline
Does anyone know if this feature is supported?

From the CR help file on hyperlinks:

*A File
Select this option to create a hyperlink to a file on a specific computer or networked computer. Use the formula button to create a file path based on a field value.

You can also use a hyperlink of this type to run an EXE with a command-line parameter. Enter the path and application name, and follow it by the parameter for the command.

thanks for any info you may have.
The administrator has disabled public write access.

Re:Passing Parameters Out Via Hyperlink 14 Mar 2012 21:03 #970

  • darthmus
  • darthmus's Avatar
  • Offline
Turns out the problem was on the Crystal side. If anyone else runs across this problem here is where I found the answer:

scn.sap.com/thread/1001257
The administrator has disabled public write access.

Re:Passing Parameters Out Via Hyperlink 05 Apr 2012 06:45 #973

  • smd
  • smd's Avatar
  • Offline
dellis wrote:
This link should help you with what you need.
Although, I am not quite sure if this will work with hyperlinks or not.
I hope this helps!
-Devin

The link helped. And it worked with the hyperlinks too.
The administrator has disabled public write access.