General information
Category:
Reports & Report designer
Title:
Crystal Report x VFP7
i'm trying to use de Crystal Report to print some reports in VFP, but i need to change the server, database and table name at runtime.
*** This Code create a Crystal Report Engine object
loCrystal = CREATEOBJECT('Crystal.CRPE.Application')
loReport = loCrystal.OpenReport(lcReport,1)
****I try to use. No work and i need help
loCrystal.LogOnServer("pdsodbc", "MSSDE", "IfmGest001002", "sa", "" )
loDatabase.Tables(1).SetLogOnInfo "pdssql.dll", "MSSDE", "IfmGest001002","sa")
loReport.PrintOut(.T.,1,.F.,1,1)
How can i do it?
Please Help
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only