Hi all,
I am able get all database tables from the report file which is having crystal dictionary(dc5) file as a data source but I am unable to get links information between tables which exists in crystal dictionary.
I am using following code,
CRAXDRT.Application app = new CRAXDRT.Application();
IReport rpt = app.OpenReport(@"C:\abc\test.rpt", 1);
DatabaseTables databaseTables = rpt.Database.Tables;
CRAXDRT.TableLinks links = rpt.Database.Links;
In above code databaseTables shows number of tables along with all field details but links doesn't show any thing thought there are links exists in the dictionary file.
Note: test.rpt have a crystal dictionary file as a datasource.
Anyone can please help me as I really struct into this problem.
Regards,
Amit