If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > Crystal Reports > Change run-time the location of a table in Crystal Reports

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 11-29-11, 05:17
patapatty patapatty is offline
Registered User
 
Join Date: Nov 2011
Posts: 1
Change run-time the location of a table in Crystal Reports

Hello all.
I have a big problem with a report made ​​in CR11. It is based on an SQL table (hereinafter BaseTable) but only serves as a structure. Now I try to explain well.
From VB6, I have to run this report. So using VB6 I create a local table in SQL CaseTable identical structure: the name of this table of course changes every time, but I see that always begins with ## and then a number.
So I fill this table with data to display in the report. Finally I try to change the location of BaseTable passing it the name of the temporary table with
Code:
crxTable.Location = Temporary Table Name
But the location does not change (I see it, however, the debug and report data is always free!).
If, however, use this statement Assign a location, the name of a real table in my database, everything works.
(NB I have omitted parts of the code is not useful, as the definition of crxTable, report, etc ...)
Does anyone know tell me why?
I absolutely have to work with this temporary table: the program requires it to me I'm making a customization.

I hope I was clear enough.

Patrizia
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On