Page 1 of 1

Using diferent data folders

Posted: Tue Feb 14, 2006 7:12 pm
by alaggio
Hi,____I have a customer that has three diferent companies.____I use the same software to control each diferent company (the same .exe Delphi application).____The data are located in three diferent folders, in the same computer, such as below. Supose I have 3 diferent products database, one on each folder._____C:Company1product.dbf___C:company2product.dbf___C:company3product.dbf____I made a products report defining its master file to c:company1product.dbf.____How can I use the same report to list the products of company2 or company3 ?____I tried the swich /D, but it didn_t help, since the directory saved with the report exists on the computer.____Is there a way of solving this, in a diferent way instead of creating 3 reports? ____I^d appreciate any help.____Regards,

=> RE: Using diferent data folders

Posted: Wed Feb 15, 2006 7:38 am
by kfleming
You could need to set up a text control file and then use the field RI_MASTER to point to the appropriate master table and then run the report via runtime.____Kathleen__R&R Support

==> RE: Using diferent data folders

Posted: Wed Feb 15, 2006 10:43 am
by alaggio
Hi Kathleen,____thank you for your answer.____But If I set up (via text file or database file) the master table, how do the relations will work?____Im my example, imagine that I have a sales table related to the product table.____If I change the master table to work with the appropriate file, does viewer use the relations saved in the report?____

===> RE: Using diferent data folders

Posted: Thu Feb 16, 2006 8:36 am
by kfleming
You would need to use an RI_ALIASn for each relation in addition to the RI_MASTER.____Kathleen__R&R Support

====> RE: Using diferent data folders

Posted: Thu Feb 16, 2006 8:29 pm
by Randallpruts
Hi Kathleen,____> If you specify both a directory and a table name, this directory is the only directory searched... <____Derek____