PowerBuilder and Crystal Reports OCXWe have around 150 Crystal Reports that are integrated into a legacy
PowerBuilder application. With the release of Crystal Reports 9 we need to
switch from the old style Crystal API and start using the newer OCX
control. The question that I have is this. It seems that some of the
attributes that are available in Visual Basic(I have placed the control in
VB and saw the list of atttributes) are not available to PowerBuilder. Here
is some of the code:
ole_1.object.ReportSource(loo_report)
ole_1.object.ViewReport()
ole_1.Object.DisplayGroupTree = 0
...
Converting Crystal Reports 9 report to Crystal Reports .NET report
I have a web page that is supposed to display a crystal report. The report is fully written and functional in crystal 9 (non-.Net) . Is there a way to convert my .rpt so that I can just include it in the new web site?
why you don't try to compile project with .net and include your report. then if crystal report is power tool will suggests you with conversation tool My blog is here.Please remember to 'Mark as Answer' if this post answered your question!
Wow it really was that easy! I just added the old crystal report into my .NET proj...
Critical Problem using Crystal Report ActiveX viewer control in PowerbuilderI have a window w_report_window in my application with a Crystal
Report 11.5 ActiveX Viewer Control(ole_crviewer) placed on it.I have a
problem generating the report as mentioned below:
I have written the code to connect\generate the report in the open
event of w_report_window. The code I have written is
i_ole_crx_application = CREATE OLEObject
i_ole_crx_connection_info = CREATE OLEObject
i_ole_crx_report = CREATE OLEObject
i_return=i_ole_crx_application.ConnectToNewObject
('CrystalRuntime.Application.11')
i_rpt_filename = G_ReportDirectory+areportfilename
i_ole_crx_...
how can i use powerbuilder to develop an activex/ole/ocx? help me please!!!
Please do not cross-post.
--
<hopethishelps/>
Roy Kiesler [TeamSybase]
MySybase -- http://www.sybase.com/mysybase
"tadsun" <tadsun@163.com> wrote in message
news:jIQ8Mt7BCHA.200@forums.sybase.com...
>
>
>
...
Integrate reports from Crystal Reports to PowerBuilder applicationIs it possible to integrate reports from Crystal Reports to PowerBuilder
application ?
see the site http://www.seagatesoftware.com/
Yuri Denshchik a �crit :
> Is it possible to integrate reports from Crystal Reports to PowerBuilder
> application ?
...
Resize Crystal Reports XI ActiveX Report ViewerHas anyone been able to resize the new ActiveX Report Viewer
in Crystal Reports XI at runtime? In my PB 10.5 application,
I have a window with an OLEControl used to display Crystal
Reports. When the window is resized, the report control
should resize also.
I've tried the following code which worked with previous
versions of the viewer, but not anymore. The GetWindow
windows api call always returns 0 instead of the handle of
the crystal reports viewer control window:
type prototypes
FUNCTION UINT GetWindow(long handle,uint relationship)
Library "USER32.DLL"
FUNCT...
Running a Crystal Reports report from PB8 app (OCX problem?)Hi,
I'm trying to run a Crystal report from my PB8 app but, when I use an If
or Switch, I get an error ( I also got the error when using the ToWords
function). Also, when I draw a square and round the edges so it looks more
like a circle in the report, the square looks circled in Crystal Reports but
in the PB8 app, you see the square w/o the changes. I think it has something
to do with some OCX that's not updated. I also read that crystl32.ocx is
not supported with some PB versions (the info said that it didn't work with
PB 5 and below).
Any help would be really appreci...
Problem with displaying report in Crystal report Viewer Activex ControlI am using Powerbuilder 9.0 with Crystal Report XI R2.I have a window
w_report_window in my application with a Crystal
Report 11.5 ActiveX Viewer Control(ole_crviewer) and a command
button
placed on it. I have set the Activation property of ole_crviewer to
activateongetfocus!.
I have a window w_searchcriteria where I enter the retrieval
parameters for the report. When I click Ok button on w_searchcriteria
the parameters entered by me are passed to w_report_window through a
structure in the OpenwithParm() command. In the w_report_window I
pass
the structure values to the report usin...
Crystal Reports with PowerbuilderI am trying to use Crystal Reports 5.0 in my PM 6.0 application. Has
anyone done that successfully?If so I would appreciate any help.
Thanx..
Intall the patch the crystal and after execute this code:
Long ll_even_id
Long ll_visit_id
Long il_ConnectionId
Long ll_event_id
Pointer oldpointer
String ls_Title
OldPointer = SetPointer ( hourglass! )
//......Avant impression........
// Connecte imm�diatement Crystal Report au serveur
il_ConnectionId = oc_CrystalReport.object.LogonServer ( "pdssql.dll",
SQLCA.ServerName, SQLCA.Database, SQLCA.LogId, SQLCA.LogPass...
powerbuilder and crystal reporthi
i have the problem while configure the powerbuilder to allow the user
change the field for runtime crystal report.
Are you trying to change the contents of a field (column) or the name?
--
Regards,
Millard [TeamSybase]
"kenbeyond" <ken_beyond04@yahoo.com> wrote in message
news:1157684803.490232.128890@p79g2000cwp.googlegroups.com...
> hi
>
> i have the problem while configure the powerbuilder to allow the user
> change the field for runtime crystal report.
>
...
Crystal Reports with PowerBuilderAre there anyone in this news group, who uses **Crystal Reports** to develop
reports to use with PowerBuilder ?
Please, write me !
Thanks,
Alan Koerbel
alan@logocenter.com.br
www.logocenter.com.br
Brazil
...
Crystal Reports OCXDoes anyone know whether the Crystal Reports OCX (crystl32.ocx) is
threadsafe or not?? I want to explore the option of using this as a
component inside Jaguar.
Thanks,
Paul Horan [TeamSybase]
Buffalo, NY
The report engine itself (CRPE32.DLL) is thread-safe. The OCX is really just
a wrapper around the engine -- although it uses the apartment-threading
model (not the desired free-threading model), it should behave OK. If you
run into unexplained deadlocks, you can always make your component shared so
that all requests are queued and processed sequentially.
--
<hopethis...
OCXHow can I activate the OCX of Crystal Report? Also, how can I pass the
parameters to the Crystal Report??
Thx.
Ming
In article <37E20B04.FBA11731@usa.net>, siu_ming@usa.net says...
>
> How can I activate the OCX of Crystal Report? Also, how can I pass the
> parameters to the Crystal Report??
>
What do you mean by activate? First thing you need to do is register the
OCX if you haven't done so.
--
Andy Turiansky
TeamSybase
http://www.teamsybase.com
http://www.teamps.com
http://www.delanet.com/~aturians/pbh
I have tried to use OLE for Cryst...
Crystal Reports with Powerbuilder
I want to create reports from a Powerbuilder database with the database
file being used on a pc (not hooked to a network). What do I need to do?
Yes, I am relative new to CR 6 and very new to Powerbuilder
Learn DataWindows and forget about Crystal Reports.
Yakov Fain
www.excaliber.net/yfain/
ewj wrote:
> I want to create reports from a Powerbuilder database with the database
> file being used on a pc (not hooked to a network). What do I need to do?
>
> Yes, I am relative new to CR 6 and very new to Powerbuilder
Learn DataWindow is better than use ...