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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Changing table name at runtime...

Status
Not open for further replies.

mmaz

Programmer
Nov 22, 2000
347
I'm calling CR 8 reports from ASP (server-side script is VBScript), using OLE DB connection.

Is it possible to change the table name at runtime?
I've tried myReport.DataFiles(0) = newTableName but I get an error "Object doesn't support this property or method: 'myReport.Datafiles'"

Any ideas, anyone?

Thanks in advance!

marie :)
 
Marie: Try this -

set FirstTable = Session("oRpt").Database.Tables.Item(1)

FirstTable.Location = "movie.dbf"

from the Crystal ASP examples David C. Monks
david.monks@chase-international.com
Accredited Seagate Enterprise Partner
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top