Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations TouchToneTommy on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Deleting Table From Report in .Net

Status
Not open for further replies.

msais42

Programmer
Dec 18, 2002
4
US
I am upgrading from VB 6 to VB .NET. In VB 6 I could execute the following code to delete a table from the crystal report programatically:

ReportDB = LocalReport.Database
DBTables = ReportDB.Tables
DBTables.Delete(1)

In upgrading, there is now the CrystalDecisions object that within the ENGINE component has DATABASE and TABLES collections. Within the TABLES collection there are ITEMS which reference the individual report tables. However, there is no way that I've found to DELETE or REMOVE a specific table. Anyone know how to do this programatically ?

Thank You In Advance.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top