Connection Crystal Report
Posted 11 August 2004 - 02:11 PM
In 4.6 - you'd want to use a system call:
#STAT = SYSTEM('run_crystal filename.rpt')
Server runs report
#STAT = SYSTEM('GUI WINDOWS run_crystal filename.rpt')
Client runs report
In 5.5 you, if it is client based, you can simply do the following:
Due to file associations, it should open in crystal.
Posted 12 August 2004 - 05:43 AM
thanks for helping me.
i tried the code what has been given by you.
but i am getting the clinet version - syntax error
the other two are not showing the error message but not displaying the report.
how to give the report file path.
i am using crystal V-10 and PROIV-5.5,OS-XP
Posted 12 August 2004 - 01:41 PM
$PATH = '\\servername\folders\'
$REPORT = 'filename.rpt'
#STATUS = CLIENT.EXECUTE($REPORT,,$PATH,'SW_SHOW')
Even though the above works I have an issue with passing parameters to Crystal. I am using VIP 5.5/Crystal V.10/OS XP. What we are wanting to do is pass parameter(s) to a defined Crystal report.
I am fairly new to PROIV and brand new to Crystal. I have attempted to load the Crystal 10 report viewer OCX into VIP but it errors and will not load properly. I had thought that this might be the answer to passing parameters but since I can't get it to load I am not sure. Has any one else had this problem?
Reply to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users