S.A. Moor Posted September 7, 2006 Posted September 7, 2006 (edited) t seems that I've posted my question to the wrong forum, sorry I'm new in here, so I hope that this time it's OK -) --------------------------------------- I've imported an application from FM version 6 to version 8.04 advanced. Before importing I've remamed all the Scrips so that I can find them once all the databases imported to a main base as tables. Is there a way (using the DDR?) to find out all the non used scripts in the final application so that I can delete them? Thank S.A. Edited September 7, 2006 by Guest
S.A. Moor Posted September 8, 2006 Author Posted September 8, 2006 I've imported an application from FM version 6 to version 8.04 advanced. Before importing I've remamed all the Scrips so that I can find them once all the databases imported to the new main base as tables. Is there a way (using the DDR?) to find out all the non used scripts in the final application so that I can delete them? Thanks
T-Square Posted September 8, 2006 Posted September 8, 2006 The DDR shows you all the places where a given object is used. For scripts, there are entries in the table for both layouts and scripts that use the script in question; these cover most of the spots where a script is used. There seem to be two exceptions: the script that is associated with startup, and scripts that are invoked from outside files. But if the two spots mentioned above are empty, then you can be confident that the script isn't used in the current file. BTW, I always make backups right before I do any structural stuff like deleting scripts, just in case! David
S.A. Moor Posted September 8, 2006 Author Posted September 8, 2006 Hi David, Thanks for the tip , I'll give it a try. Concerning backups, as an old time PC user I'm used to make them before any major modification, and at least once a day (on the machine + external device) just to be on the safe side -) S.A.
Oldfogey Posted September 12, 2006 Posted September 12, 2006 (edited) If your application isn't too big, you can do it manually. Run the DDR and look at the listing of scripts. It tells you which layouts use each script and which scripts use each script. Both blank means the script isn't used - unless you have them available under the Script menu. In the latter case, you do have a serious problem! Edited September 12, 2006 by Guest
Recommended Posts
This topic is 6904 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now