| Server IP : 121.121.20.254 / Your IP : 216.73.216.202 Web Server : Microsoft-IIS/10.0 System : Windows NT WEB-SERVER 10.0 build 20348 (Windows Server 2022) AMD64 User : IUSR ( 0) PHP Version : 8.3.28 Disable Function : NONE MySQL : ON | cURL : ON | WGET : OFF | Perl : OFF | Python : OFF | Sudo : OFF | Pkexec : OFF Directory : C:/Program Files/LibreOffice/help/en-US/text/sdatabase/ |
Upload File : |
<!DOCTYPE html>
<html lang="en-US" dir="ltr">
<head>
<base href="../../../">
<noscript><meta http-equiv="refresh" content="0; URL=../../../en-US/noscript.html"></noscript>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<title>Migrate Macros</title>
<link rel="shortcut icon" href="media/navigation/favicon.ico">
<link type="text/css" href="normalize.css" rel="Stylesheet">
<link type="text/css" href="prism.css" rel="Stylesheet">
<link type="text/css" href="default.css" rel="Stylesheet">
<script type="text/javascript" src="polyfills.js"></script><script type="text/javascript" src="languages.js"></script><script type="text/javascript" src="en-US/langnames.js"></script><script type="text/javascript" src="flexsearch.debug.js"></script><script type="text/javascript" src="prism.js"></script><script type="text/javascript" src="help2.js" defer></script><script type="text/javascript" src="a11y-toggle.js" defer></script><script type="text/javascript" src="paginathing.js" defer></script><script type="text/javascript" src="en-US/bookmarks.js" defer></script><script type="text/javascript" src="en-US/contents.js" defer></script><script type="text/javascript" src="help.js" defer></script><meta name="viewport" content="width=device-width,initial-scale=1">
</head>
<body>
<header id="TopLeftHeader"><a class="symbol" href="en-US/text/shared/05/new_help.html"><div></div></a><a class="logo" href="en-US/text/shared/05/new_help.html"><p dir="auto">LibreOffice 24.2 Help</p></a><div class="dropdowns"><div class="modules">
<button type="button" data-a11y-toggle="modules-nav" id="modules" aria-haspopup="true" aria-expanded="false" aria-controls="modules-nav">Module</button><nav id="modules-nav" hidden=""></nav>
</div></div></header><aside class="leftside"><input id="accordion-1" name="accordion-menu" type="checkbox"><label for="accordion-1" dir="auto">Contents</label><div id="Contents" class="contents-treeview"></div></aside><div id="SearchFrame"><div id="Bookmarks">
<input id="search-bar" type="search" class="search" placeholder="Search in bookmarks for chosen module" dir="auto"><div class="nav-container" tabindex="0"><nav class="index" dir="auto"></nav></div>
</div></div>
<div id="DisplayArea" itemprop="softwareHelp" itemscope="true" itemtype="http://schema.org/SoftwareApplication">
<a name="migrate_macros"></a>
<a name="bm_id6009095"></a><meta itemprop="keywords" content="wizards,macros (Base)">
<meta itemprop="keywords" content="Macro Wizard (Base)">
<meta itemprop="keywords" content="macros,attaching new (Base)">
<meta itemprop="keywords" content="migrating macros (Base)">
<a name="bm_id0224200911450173"></a>
<a name="bm_id0224200911450174"></a>
<a name="bm_id0224200911450175"></a>
<a name="bm_id022420091141366"></a>
<h1 id="hd_id0112200902353472" dir="auto">Migrate Macros</h1>
<a name="bm_id0224200911384751"></a>
<p id="par_id0112200902353466" class="paragraph" dir="auto"><span class="avis">The Database Document Macro Migration Wizard moves existing macros from sub-documents of an old Base file into the new Base file's macro storage area.</span></p>
<a name="bm_id022420091141368"></a>
<p id="par_id0224200911454780" class="paragraph" dir="auto"></p>
<a name="bm_id0224200911450172"></a>
<p id="par_id022420091145472" class="paragraph" dir="auto"></p>
<p id="par_id0112200902353542" class="paragraph" dir="auto">Previously, macros have been allowed to reside only in the text sub-documents of forms and reports. Now macros can also be stored in the Base file itself. This means that macros in Base files can be called now from any of its sub-components: forms, reports, table design, query design, relation design, table data view.</p>
<p id="par_id0112200903075865" class="paragraph" dir="auto">However, it is technically not possible to store macros both in a Base file and in its sub-documents at the same time. So, if you want to attach some new macros to the Base file, while retaining any existing old macros that were stored in the sub-documents, you must move the existing old macros up to the Base file's macro storage area. </p>
<p id="par_id0112200903075830" class="paragraph" dir="auto">The Database Document Macro Migration Wizard can move the macros up into the Base file's storage area. You can then examine the macros and edit them as needed. </p>
<p id="par_id0112200903075951" class="paragraph" dir="auto">For example, it is possible that macros from the sub-documents had the same module names and macro names. After you moved the macros into one common macro storage area, you must edit the macros to make the names unique. The wizard cannot do this.</p>
<p id="par_id0112200903075915" class="paragraph" dir="auto">The wizard can backup the Base file to another folder of your choice. The wizard changes the original Base file. The backup remains unchanged.</p>
<div class="embedded">
<a name="back"></a>
<h3 id="hd_id3147502" dir="auto">Back</h3>
<p id="par_id3150439" class="paragraph" dir="auto"><span class="avis">View the selections in the dialog made in the previous step. The current settings remain unchanged.</span> This button can only be activated from page two on.</p>
</div>
<div class="embedded">
<a name="next"></a>
<h3 id="hd_id3145609" dir="auto">Next</h3>
<p id="par_id3152473" class="paragraph" dir="auto"><span class="avis">Click the <span class="emph">Next</span> button, and the wizard uses the current dialog settings and proceeds to the next step. If you are on the last step, this button becomes <span class="emph">Create</span>.</span></p>
</div>
<div class="embedded">
<a name="finish"></a>
<h3 id="hd_id2341685" dir="auto">Finish</h3>
<p id="par_id6909390" class="paragraph" dir="auto"><span class="avis">Applies all changes and closes the wizard.</span></p>
</div>
<div class="embedded">
<a name="cancel"></a>
<h3 id="hd_id3147617" dir="auto">Cancel</h3>
<p id="par_id3155913" class="paragraph" dir="auto"><span class="avis">Clicking <span class="emph">Cancel</span> closes a dialog without saving any changes made.</span></p>
</div>
<a name="relatedtopics"></a><div class="relatedtopics">
<p class="related" itemprop="mentions" dir="auto"><a name="related"></a><span class="emph">Related Topics</span>
</p>
<div class="relatedbody" itemprop="mentions">
<p id="par_id0112200902353554" class="paragraph" dir="auto"><a target="_blank" href="https://wiki.documentfoundation.org/Macros_in_Database_Documents">An in depth explanation by the developers (Wiki).</a></p>
</div>
</div>
</div>
<div id="DonationFrame"></div>
<footer><div id="DEBUG" class="debug">
<h3 class="bug">Help content debug info:</h3>
<p dir="auto">This page is: <a href="https://opengrok.libreoffice.org/xref/help/source/text/sdatabase/migrate_macros.xhp" target="_blank">/text/sdatabase/migrate_macros.xhp</a></p>
<p dir="auto">Title is: Migrate Macros</p>
<p id="bm_module" dir="auto"></p>
<p id="bm_system" dir="auto"></p>
<p id="bm_HID" dir="auto"></p>
</div></footer>
</body>
</html>