hi!!!
i have problem in changing the database of my reports. i found a code here
Dim crxDatabaseTable As CRAXDRT.DatabaseTable
For Each crxDatabaseTable In report.Database.Tables
crxDatabaseTable.ConnectionProperties.Item("Database Name") = "C:\Temp\xtreme.mdb"
Next crxDatabaseTable
bu when i coded this to my project it says CRAXDRT.DatabaseTable
anyone can help me for this i have change paths with code because of when i run my project any drives it has to work...Why not use
crxDatabaseTable.Location = "C:\Temp\xtreme.mdb"
instead of setting ConnectionProperties?
Also, dont forget that a report can have subreports that will also need setting location info.|||how can i use it?
i cant do anything... i think i have to define something but i dont know what...
my report name is exitreportrep when i wrote it to a form load or anywhere i have 3 choice only
exitreportrep.EnableEventLog()
exitreportrep.Equals()
exitreportrep.ReferenceEquals()
i dont know what to do...
No comments:
Post a Comment