{"id":68483,"date":"2021-08-04T04:10:07","date_gmt":"2021-08-04T08:10:07","guid":{"rendered":"http:\/\/bangla.salearningschool.com\/recent-posts\/access-2007-how-to-90\/"},"modified":"2021-08-04T04:10:07","modified_gmt":"2021-08-04T08:10:07","slug":"access-2007-how-to-90","status":"publish","type":"post","link":"http:\/\/bangla.sitestree.com\/?p=68483","title":{"rendered":"Access 2007: How to #90"},"content":{"rendered":"<p><b>Access 2007: How to<\/b><\/p>\n<p>How to compact and repair database?<\/p>\n<p>File menu (Alt+F) -&gt; Manage -&gt; Compact and Repair Database. Why? To reduce file\/database size. Helpful &#8211; when you want to upload to a remote server. <\/p>\n<p>Compacting and Repairing databases many times can solve many database issues. Use the feature once in a while &#8211; while developing <\/p>\n<p>How to backup an Access Database?<\/p>\n<p>File Menu (Alt+F) -&gt; Manage -&gt; Back Up Database. Follow the wizards\/options. <br \/>You can backup your databases once in a while. Good practice to save your data and databases.<\/p>\n<p>How to restore an Access Database?<br \/>Really you need to do nothing. Just open the backed-up database in Microsoft Access (2007)<\/p>\n<p>How to set database properties in Access?<br \/>File Menu (Alt+F) -&gt; Manage -&gt; Database Properties<\/p>\n<p>How to create different objects (database objects and front end objects) in Microsoft Access? <br \/>Under &#8216;create&#8217; toolbar, check toolbar options to create different database and front end objects<\/p>\n<p>Table: To store data<\/p>\n<p>Table Templates: You can use existing tables (table templates) to create new tables<\/p>\n<p>Table Design: You can design tables, assign primary keys, insert and delete rows from here. Also, you can use the &#8216;Lookup Column&#8217; option for the table (Foreign key concept in Access). Under &#8216;table design&#8217; option, you can also create indexes. Indexes make your queries run faster (you need to use the index column in your where clauses, group by clauses , order by clauses as appropriate)<\/p>\n<p>Form: You can create Form objects using the &#8216;form&#8217; option. It uses a table as the back-end and creates the form with table fields on the form. Open\/select the table first &#8211; that need to be used in the form.<\/p>\n<p>Split Form: A form with two sections. The upper section with Table Field\/value pairs. Lower part &#8211; grid views of the table<\/p>\n<p>Multiple Items: Will create a form with multiple rows on the form. Similar to Grid View<\/p>\n<p>Blank Form: A plain blank form, you can design it on your own as you want. You can also control which table\/query to connect to<\/p>\n<p>More Forms -&gt; Form Wizard : Will guide you step by step to create a form based on tables\/queries<\/p>\n<p>More Forms -&gt; Modal Dialog : Will create a dialog box (Modal)<\/p>\n<p>Form Design: Design your own forms as you want. Link to tables\/queries as you want.<\/p>\n<p>Report: Use the report menu to create a report based on a table or query. Open\/select the table\/query based on what &#8211; the report will be created. Click on the report toolbar option. <br \/>A report will automatically get created. Then you can manipulate what data should be displayed &#8211; what not<\/p>\n<p>Report Design: You can design your reports from scratch here. You can use Record Source property to point to the data source (table, query). When the report designer will open, you will see a new toolbar at the top. You will see controls that are useful for reports<\/p>\n<p>Query Wizard: Will guide you step by step to write queries.<\/p>\n<p>Query Design: Will help you to build queries based on a graphical interface. You will also be able to write sql statements and see it in graphical interface<\/p>\n<p>Macro: To write macros, classes, modules<\/p>\n<p>What are the tools access provides to access data in other systems?<br \/>Use the External Data toolbar to find out<\/p>\n<p>In the import section, you can see options to import data from other sources such as Access (other access database), Excel, Text File, XML File, ODBC (can be used to collect data from any data source that supports ODBC access such as SQL Server, Oracle).<\/p>\n<p>In the export section, you will see options to export your access database (hence the data) to other data sources such as Excel, Word file, Sharepoint, text file, xml file<\/p>\n<p>How to give custom functionality to access forms?<br \/>Use the Visual Basic option under the Database Tools toolbar. When you click &#8211; Visual Basic &#8211; a code window will appear &#8211; where you can write vb code to provide custom functionality.<\/p>\n<p>In the code window, select the form where you want to write code &#8211; then write code on different events. At the top of code writing screen &#8211; you will see a object selection box and an event selection box.<\/p>\n<p>Select objects and events to write codes for the corresponding events and objects<\/p>\n<p>Alternate way: Open a form -&gt; click an object -&gt; right click -&gt; properties (from toolbar you can also go to properties) -&gt; click event tab -&gt; in the event &#8211; select event procedure -&gt; click eclipses (&#8230;) -&gt; you will be taken to the place where you need to write code (for the object\/event).<\/p>\n<p>How to create relationships in Access?<br \/>When you design ER diagram, you usually define relationships among tables. To implement relationships &#8211; you usually need to place one table&#8217;s fields (foreign key concept) into another table (or create new table based on the related fields) &#8211; anyway &#8211; check the DBMS theory section of this web-site.<\/p>\n<p>In access, under database tools options, you will see &#8216;Relationships&#8217; option<\/p>\n<p>Click Relationships option -&gt; you will see all existing relationships. Click any relation as shown by lines and arrows &#8211; you will be able to modify the relation (also you will see an option to create a new relationship)<\/p>\n<p>Here you can add tables by right clicking and selecting show table. Then from the toolbar select &#8216;Edit Relationships&#8217; -&gt; then click &#8216;Create new&#8217; to create new relationships. Don&#8217;t forget to use the &#8216;Join Type&#8217; option to define relationship type.<\/p>\n<p>Whether you use this access relationship feature or not -&gt;  using relationship in database design is highly recommended. Also, relationship simplication is highly recommended. Table design must reflect the relationships. If your databases\/applications grow very big &#8211; the importance will be realized.<\/p>\n<p>How to password protect access database?<br \/>Under Database tools option, use the Encrypt with password option<\/p>\n<p>How to Migrate Access data to Microsoft SQL Server?<br \/>Use the SQL Server option under the &#8216;Database Tools&#8217; toolbar.<\/p>\n<p>You may also use the Export feature under External Data toolbar. USe ODBC<\/p>\n<p>How to deploy your Access Database\/Application so that your clients can not access the code (also can not modify the design)?<br \/>Use the Make ACCDE option under the &#8216;Database Tools&#8217; toolbar<\/p>\n<p>How to create database documentation in Access?Use the Database Documenter option under the &#8216;Database Tools&#8217; toolbar. Just need to select the tables\/queries\/reports&#8230;..and select some other options as appropriate &#8211; childish stuff<\/p>\n<p>How to separate backend (i.e. tables) from front-end (i.e. Forms)?Use the &#8216;Access Database&#8217; option under the &#8216;Database Tools&#8217; toolbar. It will ask you confirmation on splitting database<\/p>\n<p>How to link the front end of a split database to it&#8217;s back-end?Use the Linked Table Manager under the Database Tables toolbar.<br \/>First, bring the back-end tables using the &#8216;Access&#8217; option under the &#8216;External Data&#8217; toolbar. <\/p>\n<p> From: http:\/\/sitestree.com\/?p=5223<br \/> Categories:90<br \/>Tags:<br \/> Post Data:2008-10-06 00:15:08<\/p>\n<p>\t\tShop Online: <a href='https:\/\/www.ShopForSoul.com\/' target='new' rel=\"noopener\">https:\/\/www.ShopForSoul.com\/<\/a><br \/>\n\t\t(Big Data, Cloud, Security, Machine Learning): Courses: <a href='http:\/\/Training.SitesTree.com' target='new' rel=\"noopener\"> http:\/\/Training.SitesTree.com<\/a><br \/>\n\t\tIn Bengali: <a href='http:\/\/Bangla.SaLearningSchool.com' target='new' rel=\"noopener\">http:\/\/Bangla.SaLearningSchool.com<\/a><br \/>\n\t\t<a href='http:\/\/SitesTree.com' target='new' rel=\"noopener\">http:\/\/SitesTree.com<\/a><br \/>\n\t\t8112223 Canada Inc.\/JustEtc: <a href='http:\/\/JustEtc.net' target='new' rel=\"noopener\">http:\/\/JustEtc.net (Software\/Web\/Mobile\/Big-Data\/Machine Learning) <\/a><br \/>\n\t\tShop Online: <a href='https:\/\/www.ShopForSoul.com'> https:\/\/www.ShopForSoul.com\/<\/a><br \/>\n\t\tMedium: <a href='https:\/\/medium.com\/@SayedAhmedCanada' target='new' rel=\"noopener\"> https:\/\/medium.com\/@SayedAhmedCanada <\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Access 2007: How to How to compact and repair database? File menu (Alt+F) -&gt; Manage -&gt; Compact and Repair Database. Why? To reduce file\/database size. Helpful &#8211; when you want to upload to a remote server. Compacting and Repairing databases many times can solve many database issues. Use the feature once in a while &#8211; &hellip; <\/p>\n<p><a class=\"more-link btn\" href=\"http:\/\/bangla.sitestree.com\/?p=68483\">Continue reading<\/a><\/p>\n","protected":false},"author":8,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_memberships_contains_paid_content":false,"footnotes":""},"categories":[1917],"tags":[],"class_list":["post-68483","post","type-post","status-publish","format-standard","hentry","category-fromsitestree-com","item-wrap"],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":67364,"url":"http:\/\/bangla.sitestree.com\/?p=67364","url_meta":{"origin":68483,"position":0},"title":"What is Hibernate? #Java Short Notes","author":"Author-Check- Article-or-Video","date":"July 20, 2021","format":false,"excerpt":"Why Hibernate? A database is an integral part of many different types of applications. Standalone single-person applications to multi-user distributed business and enterprise applications make extensive use of databases. Many high end technology applications in industries including telecommunications, and surveillance systems make extensive use of databases. However, in recent years,\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":69091,"url":"http:\/\/bangla.sitestree.com\/?p=69091","url_meta":{"origin":68483,"position":1},"title":"MySql Administration SQL Commands #5","author":"Author-Check- Article-or-Video","date":"August 12, 2021","format":false,"excerpt":"Using MySQL, AdministrationWorkshop RequirementsYou should have access to the MySQL command line client software.Various different PRIVILEGES on the MySQL ServerIntroductionIn the other MySQL Virtual Workshops we have used commands that are pretty much applicable to anyone. This part of the MySQL series is aimed at giving a rudimentary understanding of\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":65652,"url":"http:\/\/bangla.sitestree.com\/?p=65652","url_meta":{"origin":68483,"position":2},"title":"Database Programming in .Net: ADO.Net Overview #Misc .Net","author":"Author-Check- Article-or-Video","date":"July 10, 2021","format":false,"excerpt":"Overview of ADO.net Purpose Components of ADO.net and their functions ADO.net provides disconnected database access to make minimum resource (RAM,Page Table,Heap) use. Database connections are open as long as the connection is required. Afterwards, the connection is just closed. If connections are kept active and if new connections are used\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":69245,"url":"http:\/\/bangla.sitestree.com\/?p=69245","url_meta":{"origin":68483,"position":3},"title":"Database Administration : Random #39","author":"Author-Check- Article-or-Video","date":"August 15, 2021","format":false,"excerpt":"Vacuum:vacuum is a useful command to maintain PostGreSql database integrity. Also, it permanently removes deleted database records (by default PostGreSql does not delete permanently). It also rearranges page tables, segments for better performance. vacuum should be run regularly for optimized performance. You can also automate the execution. Syntax: vacuum [FULL|Analyze|Verbose|table\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":69922,"url":"http:\/\/bangla.sitestree.com\/?p=69922","url_meta":{"origin":68483,"position":4},"title":"Database Programming in .Net: ADO.Net Overview #18","author":"Author-Check- Article-or-Video","date":"August 22, 2021","format":false,"excerpt":"Overview of ADO.net Purpose Components of ADO.net and their functions ADO.net provides disconnected database access to make minimum resource (RAM,Page Table,Heap) use. Database connections are open as long as the connection is required. Afterwards, the connection is just closed. If connections are kept active and if new connections are used\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":20401,"url":"http:\/\/bangla.sitestree.com\/?p=20401","url_meta":{"origin":68483,"position":5},"title":"Learn some Centos\/Redhat Linux: RHCE: MariaDB Administration on Redhat\/Fedora\/CentOS","author":"Author-Check- Article-or-Video","date":"February 20, 2021","format":false,"excerpt":"RHCE: MariaDB Administration on Redhat\/Fedora\/CentOS Check if mariaDB is installed or not 130 yum list installed | grep ^mariadb mariaDB originated from MySQL - after MySQL Got Bought by Oracle 133 yum list installed | grep ^mariadb I see - installed though not completely Output: mariadb-libs.x86_64 1:5.5.52-1.el7 @anaconda There are\u2026","rel":"","context":"In &quot;FromSitesTree.com&quot;","block_context":{"text":"FromSitesTree.com","link":"http:\/\/bangla.sitestree.com\/?cat=1917"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/68483","targetHints":{"allow":["GET"]}}],"collection":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=68483"}],"version-history":[{"count":0,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=\/wp\/v2\/posts\/68483\/revisions"}],"wp:attachment":[{"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=68483"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=68483"},{"taxonomy":"post_tag","embeddable":true,"href":"http:\/\/bangla.sitestree.com\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=68483"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}