Go Back  Xtreme Visual Basic Talk > Legacy Visual Basic (VB 4/5/6) > General > Crystal Report Problem


Reply
 
Thread Tools Display Modes
  #1  
Old 06-08-2001, 03:12 AM
Infoshare
Guest
 
Posts: n/a
Question Crystal Report Problem


Is there any way to change table name dynamically in Crystal Report.

I am backing up the daily transactions of a company in a
database 'transactions'. The program is written to backup the data
to a table (say 05-01 for May 2001, 06-01 for June 2001 etc).

These tables were already not created, at the time of backup, the program
checks if there is a month table. If it's found, program writes
data to that table, otherwise create a table using the month and year code.

To build the reports from the backup I had designed a report with an
existing table (for eg. 05-01) in crystal report. At runtime this is
enough for the month May.

The problem is that, I can't access the data from the tables which are
created after the designing of report (for eg. 06-01). How can we
build a report from the table, which is not inserted in the table at
design time.

Can we solve this problem with an 'alias' of the table?

I am using Crystal Report 4.6, MS Access 97 and VB 5.0.


Pls help...






Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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

Forum Jump

Advertisement:





Free Publications
The ASP.NET 2.0 Anthology
101 Essential Tips, Tricks & Hacks - Free 156 Page Preview. Learn the most practical features and best approaches for ASP.NET.
subscribe
Programmers Heaven C# School Book -Free 338 Page eBook
The Programmers Heaven C# School book covers the .NET framework and the C# language.
subscribe
Build Your Own ASP.NET 3.5 Web Site Using C# & VB, 3rd Edition - Free 219 Page Preview!
This comprehensive step-by-step guide will help get your database-driven ASP.NET web site up and running in no time..
subscribe
 
 
-->