Consultor Eletrônico



Kbase P53484: How to connect to a File DSN with the Crystal Reports runtime engine
Autor   Progress Software Corporation - Progress
Acesso   Público
Publicação   01/07/2005
Status: Unverified

GOAL:

How to connect to a File DSN with the Crystal Reports RDC

GOAL:

How to connect to a File DSN via the LogOnServer method with Crystal Reports 9

GOAL:

How to connect to a File DSN via the LogOnServer method with Crystal Reports 10

GOAL:

How to connect to a File DSN via the LogOnServer method with Crystal Reports 11 (XI)

FACT(s) (Environment):

Progress 9.1D
Progress 9.1E
OpenEdge 10.0x
Crystal Reports 9
Crystal Reports 10
Crystal Reports 11 (XI)
Windows

FIX:

Define the File DSN and store it in a shared location

It is possible to use either the physical path (if the File DSN is located on a mapped drive) or the UNC path

In place of the DSN name in the LogOnServer method, use the path to the File DSN:

chApplication:LogOnServer("CRDB_ODBC.DLL", "<Path to File DSN>", "", "<Username>", "<Password>").