Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is SQL connection handle exposed by Crystal RDC?
Message
From
17/11/2009 22:32:35
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Crystal Reports
Title:
Is SQL connection handle exposed by Crystal RDC?
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Network:
Windows 2008 Server
Database:
MS SQL Server
Miscellaneous
Thread ID:
01435365
Message ID:
01435365
Views:
98
I have a bunch of Crystal Reports that have SQL Server stored procedures as their data source. Each stored procedure is passed a string parameter with filter conditions; mostly simple conditions like 'ccustno > 'ABC'. But I also pass in references to SQL Server temp tables - for example 'select ccustno from arcust where ccustno in (select ccustno from ##temp_arcust)'. The ## temp table is created by my VFP program. But, so far, I have to make them global temp tables (##) instead of #. I think this is because they are on a separate connection handle that I create from within VFP.

My question is, can I use the same connection handle that Crystal reports is using to execute the stored procedure, to create my temp tables? Is the connection handle number exposed anywhere in the crystal RDC object. I am using Crystal 8.5. I didn't see it anywhere in any of the object properties. If not in the object, is there any other way to get it.

Thanks in advance for any suggestions.
Reply
Map
View

Click here to load this message in the networking platform