Page 1 of 1
HOW TO CHANGE THE DBF PATH WHEN RP1 IS TRF TO NEW DATA DIR
Posted: Thu Jun 14, 2001 6:42 am
by kukie
WE HAVE DESIGNED A FINANCIAL PACKAGE USING CLIPPER AND ____ARE USING r&r FOR REPORTS. WE ARE FACING A PROBLEM OF ____CHANGING THE PATH FOR THE DATA WHENEVER WE BEGIN THE ____PACKAGE IN THE NEW DIRECTORY.____IN THE CURRENT DIRECTORY THE DATA IS PICKED FROM____THE DIRECTORY FROM WHERE THE RP1 IS TRANSFERED ____I MEAN THE OLD DIRECTORY____THIS PROBLEM IS CORRECTED ONLY IF WE GO MANUALLY TO RR____OPEN THE REPORT AND THEN SAVE IT AGAIN, THEN ONLY THE____DATA IS PICKED FROM THE CURRENT DIRECTORY____PLEASE SHOW US THE WAY OUT TO THIS PROBLEM____THANX______REPLY AT EARLIEST AT KUKIE72@REDIFF.COM________KUKIE____________
=> RE: HOW TO CHANGE THE DBF PATH WHEN RP1 IS TRF TO NEW DATA DIR
Posted: Thu Jun 14, 2001 12:03 pm
by kfleming
If the RP1 and the data files are all in the same directory (C:dir_A), then you can copy all of the files to a different directory (D:dir_B) when you open the report in C:dir_A it will find the files in C:dir_A and if you open the report in D:dir_B it will find the files in D:DIR_B.______If the report is saved in a different directory from the report (report in C:dir_A but data in C:dir_data)__then R&R remembers the full path to the data.__So if this report is in either C:dir_A or D:dir_B it will look for the data files in C:dir_data.____If the files cannot be found in c:dir_data, then we will look in the default data directory that is specified in the RR.CNF (for DOS versions) or the RRW.INI for windows versions. But this only occurs when we cannot find files in the saved location.____So to change data paths at runtime, you can hide the original files so that the default data directory is used or you can use the runtime control file to explicitly determine the path for the master and related files.____The documentation covers all of this in detail.____Kathleen__R&R Support
=> RE: HOW TO CHANGE THE DBF PATH WHEN RP1 IS TRF TO NEW DATA DIR
Posted: Thu Jun 14, 2001 12:10 pm
by kfleming
Your email address came back as an error.__Hope you will be checking in here again.____Kathleen