SAP Knowledge Base Article - Preview

1206814 - How to change an Informix table location at runtime based on a native connection with Crystal Report .NET SDK

Symptom

Is it possible to change an Informix table location at runtime based on a native connection with Crystal Report .NET SDK?
 
It is indeed possible to change the Informix table location at runtime  based on a native connection with Crystal Report .NET SDK.
However when attending to do so through this code:

 

Tables tables = reportDocument.Database.Tables;

                                    foreach (CrystalDecisions.CrystalReports.Engine.Table table in tables)

                                    {

                                                TableLogOnInfo tableLogonInfo = table.LogOnInfo;

                                                tableLogonInfo.ConnectionInfo = connectionInfo;

                                                table.ApplyLogOnInfo(tableLogonInfo);

                                    }

This will result in either a "Logon failed error" or a "Database Connector error" error


Read more...

Product

SAP Crystal Reports, developer version for Microsoft Visual Studio ; SAP Crystal Reports, version for Visual Studio .NET 2008

Keywords

Changing an Informix table location at runtime based on a native connection with Crystal Report .NET SDK , 9472972 , KBA , BI-DEV-NET , BI Software Development Kits (SDKs) - .NET or Other , How To

About this page

This is a preview of a SAP Knowledge Base Article. Click more to access the full version on SAP for Me (Login required).

Search for additional results

Visit SAP Support Portal's SAP Notes and KBA Search.