Re: Have any one tried Crystal Reports w
Posted in 1997
I have always used a forward slash, work fine c:/*.rpt mukta Derumier, David wrote: > I'm not sure, but probably the problem is the filename: you need to use a > double '\\'. Something like > > LET myJob = myReport.OpenJob("c:\\\\delme.rpt") > > If you forget the double \\, the method cannot find and open the report > file, and then that crash. > > @ David Derumier > david.derumier@trasys.be > > -----Message d'origine----- > De: ilist [SMTP:ilist@rmy.emory.edu] > Date: vendredi 7 novembre 1997 13:18 > ': informix-list > Objet: Have any one tried Crystal Reports with > > Have any one tried Crystal Reports with NewEra 3.xx ? > I have tryed but cannot get the following code to work : > ------------------------------------------------------------- > VARIABLE > ok BOOLEAN > > LET myReport = NEW CRPEngine(TRUE) > IF myReport IS NULL THEN > DISPLAY "REP BAD" > ELSE > DISPLAY "REP OK" > END IF > > LET myJob = myReport.OpenJob("c:\\delme.rpt") > IF myJob IS NULL THEN > DISPLAY "JOB BAD" > ELSE > DISPLAY "JOB OK" > END IF > > LET ok = myJob.StartJob() -- Exception comes here !! > -------------------------------------------------------------