How to import / export a query?
From MedITEX - Wiki
Line 80: | Line 80: | ||
<p>Now open the "<strong>*.sql</strong>" file sent by the support team in any text editor like <strong>Notepad</strong>. Copy everything with <strong>Ctrl+A</strong> then <strong>Ctrl+C </strong>or select the whole code and right-mouse-click <strong>Copy</strong>.</p> | <p>Now open the "<strong>*.sql</strong>" file sent by the support team in any text editor like <strong>Notepad</strong>. Copy everything with <strong>Ctrl+A</strong> then <strong>Ctrl+C </strong>or select the whole code and right-mouse-click <strong>Copy</strong>.</p> | ||
<p>Go back to the <strong>Edit expert query</strong> window. Delete all the default code.</p> | <p>Go back to the <strong>Edit expert query</strong> window. Delete all the default code.</p> | ||
− | <p>Press <strong>Ctrl+ | + | <p>Press <strong>Ctrl+V</strong> to paste the code we previously copied.</p> |
<p>Press the <strong>OK </strong>buttom at the bottom right corner.</p> | <p>Press the <strong>OK </strong>buttom at the bottom right corner.</p> | ||
<p>Back in the main <strong>Report editor</strong> window, save this new query and now you are able to run it just like a normal query.</p> | <p>Back in the main <strong>Report editor</strong> window, save this new query and now you are able to run it just like a normal query.</p> |
Revision as of 11:55, 14 May 2014
To open the Report editor, go to Report -> Report editor in the menu bar.
<img src="/images/ReportEd.png" alt="" /> |
Report editor will open.
<img src="/images/OpenRE.png" alt="" width="92" height="37" /> | Click on the Open button to open the below window so you can export or import queries. |
<img src="/images/SavedQueries.pn.png" alt="" width="704" height="429" /> |
Right-click a query and select Query. |
<img src="/images/Letter8.png" alt="" /> |
Export a query
A query may be exported in order to import it later into another server (e.g.: it is possible to send the query to a colleague using MedITEX in another center) or by another user in his/her own folder.
If the option Export is selected, the query will be copied into the folder Query builder, usually located at "C:\CRITEX\MedITEX IVF\File_Storage\QueryBuilder". The file will be saved as FQB [Name].grd. "Name" here represents the name of the query. This file can be sent and copied into another computer.
Import a query
To import a query just select the corresponding option from the menu Query. Browse your computer and select the file you wish to import.
<img style="display: block; margin-left: auto; margin-right: auto;" src="/images/hint48.png" alt="" width="48" height="48" /> | When you right-click a query from the list and select Import, it will not overwrite this query. Instead, you will be asked to type in a new name and the query will be imported separately. |
Import an Expert query
Expert queries are created by our support team and they are meant for very specific user requests. These queries are not editable.
In order to import an expert query, you must click on any field from the Group list (area 1).
After it is selected, press Ctrl+E. The Selection section will change to the picture bellow.
Click on Expertenabfrage and drag it to the Query section (area 2). The window Edit expert query will open.
Now open the "*.sql" file sent by the support team in any text editor like Notepad. Copy everything with Ctrl+A then Ctrl+C or select the whole code and right-mouse-click Copy.
Go back to the Edit expert query window. Delete all the default code.
Press Ctrl+V to paste the code we previously copied.
Press the OK buttom at the bottom right corner.
Back in the main Report editor window, save this new query and now you are able to run it just like a normal query.
<a href="/index.php?title=MedITEX_IVF_how_to">Back to How to</a> | <a href="#top">Back to top</a> |