Search found 330 matches: crystal

Return to advanced search

Re: Crystal report with Mysql

Dear All, I use ADS9 (Free table) and Crystal Report XI R2. How can I change at runtime. I try as following code but it got an error "Invalid Argument Provided" If I do not change the Location, the data is default in RPT form. I run ...
by dutch
Thu May 11, 2017 10:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Crystal report with Mysql
Replies: 13
Views: 3254

Re: Crystal report with Mysql

I got it now. I miss 1 line.

Code: Select all  Expand view
oCRTable:Location := cDatabase+"."+oCRTable:Location


Thanks for all.
by dutch
Wed May 10, 2017 4:53 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Crystal report with Mysql
Replies: 13
Views: 3254

Re: Crystal report with Mysql

Yes, I do. This is Connection Parameters -------------------------------------- Data Source Name : EZFOV6 TCP/IP Server : easyfo.com Port : 3306 User : easyfo_root Password : nimda Database : easyfo_v6   TRY    oCrystal:= CreateObject("CrystalRuntime.Application.11")    // Declare ...
by dutch
Tue May 09, 2017 10:04 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Crystal report with Mysql
Replies: 13
Views: 3254

Re: Crystal report with Mysql

Have you created DSN ODBC?

Maurizio
www.nipeservice.com
by Maurizio
Tue May 09, 2017 8:50 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Crystal report with Mysql
Replies: 13
Views: 3254

Re: Crystal report with Mysql

Dear Maurizio, Thank you for your kind help. I didn't get error now. I'm putting wrong cServerName, it should be "Data Source Name" in ODBC. Now I can run the CRViewer in localhost. But I cannot change the database location, it is still reading from localhost, even I change to Data Source ...
by dutch
Tue May 09, 2017 7:45 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Crystal report with Mysql
Replies: 13
Views: 3254

Re: Crystal report with Mysql

Dear Antonio, Thank you so much, I got and understand to use CRXIR2 from your code but I use MySql. Your sample code login is used for ADS. Dear Maurizio, I try as your recommend but I cannot find pdsodbc.dll. It has only p2sodbc.dll in the internet. I try with this dll but it still show an error. D...
by dutch
Tue May 09, 2017 5:11 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Crystal report with Mysql
Replies: 13
Views: 3254

Re: ERROR DE TOleAuto con CRYSTAL REPORT 11

Saludos a todos Mayores datos sobre la incidencia. Application =========== Path and name: C:\DPSGEV51\BIN\DPCRPE.EXE (32 bits) Size: 2,961,408 bytes Compiler version: Harbour 3.2.0dev (r1603082110) FiveWin Version: FWH 15.03 Windows version: 6.2, Build 9200 Time from start: 0 hours 0 mins 4 secs Err...
by jnavas
Tue May 02, 2017 10:39 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ERROR DE TOleAuto con CRYSTAL REPORT 11
Replies: 4
Views: 1999

Re: ERROR DE TOleAuto con CRYSTAL REPORT 11

Saludos
Tengo la Misma incidencia, como registro el ActiveX?

Stack Calls
===========
Called from: => THROW( 0 )
Called from: xhb\xhbole.prg => TOLEAUTO:NEW( 0 )
Called from: xhb\xhbole.prg => CREATEOBJECT( 0 )
Called from: dpcrpe.prg => MAIN( 114 )
by jnavas
Tue May 02, 2017 10:38 pm
 
Forum: FiveWin para Harbour/xHarbour
Topic: ERROR DE TOleAuto con CRYSTAL REPORT 11
Replies: 4
Views: 1999

Re: Crystal report with Mysql

May be this can be useful: for n := 1 to nTables    oDbTable := oDbTables:Item(n)    oDbTable:dllname := "crdb_ads.dll" // or "crdb_odbc.dll" or anyother    //Get and delete all connection properties    oProp := oDBTable:ConnectionProperties()    oProp:DeleteAll&#...
by AHF
Tue May 02, 2017 8:49 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Crystal report with Mysql
Replies: 13
Views: 3254

Re: Crystal report with Mysql

I use : TRY       oCRDatabase:LogOnServer ('pdsodbc.dll',cODBC ,cDataBase, cUserName ,cPassword  )   CATCH      ? "Errore in Apertura dati MySQL utente o password sbagliati  "      Return nil    END Mau...
by Maurizio
Tue May 02, 2017 7:02 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Crystal report with Mysql
Replies: 13
Views: 3254

Re: Crystal report with Mysql

Dear All, I try with this ::logonserver() to MySql via ODBC but it isn't successful. It errors on :LogOnServer() as Error occurred at : 02/05/17, 10:54:18 Description : Error CrystalRuntime.Application.11:OPENREPORT:DATABASE/3 DISP_E_MEMBERNOTFOUND: LOGONSERVER Args: [ 1] = C crdb_odbc.dll [ 2] = C ...
by dutch
Tue May 02, 2017 4:23 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: Crystal report with Mysql
Replies: 13
Views: 3254

Re: CRYSTAL REPORT XI print to printer

I've got it.
Thank Antonio,
by dutch
Mon Apr 24, 2017 2:09 pm
 
Forum: FiveWin for Harbour/xHarbour
Topic: CRYSTAL REPORT XI print to printer
Replies: 2
Views: 523

Re: CRYSTAL REPORT XI print to printer

Dutch,

Just an idea:

Code: Select all  Expand view

PrinterSetup(),;
oReport:SelectPrinter(PrnGetDrive(),PrnGetName(),PrnGetPort()),;
oReport:PrintOut(.F.)
 


I think "False" must be .F.
by AHF
Mon Apr 24, 2017 10:37 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: CRYSTAL REPORT XI print to printer
Replies: 2
Views: 523

CRYSTAL REPORT XI print to printer

Dear All, I try this code for Preview and Export to file, it's work well but print to printer doesn't work and got an error. oRpt:SelectPrinter( cPrinter ) // Error missing method oRpt:PrintOut("False",nCopy) // Error missing method Thanks in advance for any help or suggestion. *----------...
by dutch
Mon Apr 24, 2017 10:13 am
 
Forum: FiveWin for Harbour/xHarbour
Topic: CRYSTAL REPORT XI print to printer
Replies: 2
Views: 523
PreviousNext

Return to advanced search