IDE
How to copy and paste procedures from one application to another?
There are two variants:
- In the first application in main menu choose item File - Selective Export..., set name of TXA-file where necessary procedures will be exported. Mark required procedures in list and click button OK. After this open second application, choose in main menu item File - Import Text... and point on required TXA-file, and then all procedures will be imported into the current application.
- Open second application. In the main menu choose item File - Import from Application..., point on the first application from where you want to take procedures. Mark required procedures and click OK. Selected procedures will be inserted into the current application.
In both variants it should take into account that import will be completed successfully in case if all files and templates that are used in imported procedures, are available in the application where these procedures are inserted. Otherwise you get an error like "File not open" with rollback for import.
If imported procedures use files that are absent by name or are not coincided with files in dictionary of application where these procedures are inserted then you should use first method. After export required procedures in TXA file open it in any text editor, find mentions of "problem" files and/or change their names on required ones or simply remove them from sections [FILES] and/or [PRIMARY]. After that complete first method, open new procedure and insert necessary files from dictionary.
Tags: procedure import, procedure export, project
Related entries:
- How to prevent running of Application Wizard creating new application?
- How to change first calling procedure when application started?
- How to receive the list of %Primary and %Secondary files, used in current procedure by all templates?
- How to know if user leave the application?
- How to run application that will not be displayed in task bar?
Last update: 2007-07-16 15:42
Author: Oleg Rudenko
Revision: 1.1
You can comment on this entry