<?xml version="1.0" encoding="UTF-8"?> <rss
version="2.0"
xmlns:content="http://purl.org/rss/1.0/modules/content/"
xmlns:wfw="http://wellformedweb.org/CommentAPI/"
xmlns:dc="http://purl.org/dc/elements/1.1/"
xmlns:atom="http://www.w3.org/2005/Atom"
xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
xmlns:slash="http://purl.org/rss/1.0/modules/slash/"
> <channel><title>gHacks Technology News &#124; Latest Tech News, Software And Tutorials &#187; OpenOffice.org</title> <atom:link href="http://www.ghacks.net/tag/openofficeorg/feed/" rel="self" type="application/rss+xml" /><link>http://www.ghacks.net</link> <description>A technology news blog covering software, mobile phones, gadgets, security, the Internet and other relevant areas.</description> <lastBuildDate>Sat, 11 Feb 2012 21:54:04 +0000</lastBuildDate> <language>en</language> <sy:updatePeriod>hourly</sy:updatePeriod> <sy:updateFrequency>1</sy:updateFrequency> <generator>http://wordpress.org/?v=3.3.1</generator> <atom:link rel="hub" href="http://pubsubhubbub.appspot.com"/><atom:link rel="hub" href="http://superfeedr.com/hubbub"/> <item><title>How to create a database with OpenOffice Base</title><link>http://www.ghacks.net/2009/08/26/how-to-create-a-database-with-openoffice-base/</link> <comments>http://www.ghacks.net/2009/08/26/how-to-create-a-database-with-openoffice-base/#comments</comments> <pubDate>Tue, 25 Aug 2009 23:59:05 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Linux]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[database]]></category> <category><![CDATA[microsoft access]]></category> <category><![CDATA[openoffice database]]></category> <category><![CDATA[OpenOffice.org]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=15725</guid> <description><![CDATA[If you have ever used Microsoft Office Access you know that the database is a powerful component of office life. There are many reasons to create databases. For some databases are a way of life (or a way to make a living). For others databases are a means to keep tabs on inventory, collections, or [...]]]></description> <content:encoded><![CDATA[<p>If you have ever used Microsoft Office Access you know that the database is a powerful component of office life. There are many reasons to create databases. For some databases are a way of life (or a way to make a living). For others databases are a means to keep tabs on inventory, collections, or enrollment. But if you are looking for an application to create databases and you don&#8217;t want to do so with a database server such as MySQL, then OpenOffice Base might be right up your ally.</p><p>OpenOffice Base is a  database management system capable of creating its own databases or connecting to a database created by the more powerful MySQL database server. But for the average user, creating a stand alone database is enough power. And OpenOffice Base handles this task easily.</p><p><span
id="more-15725"></span><strong>Is it installed?<br
/> </strong></p><p>First and foremost you have to make sure the application is there. If you look in your Office sub-menu of the Applications menu you should see an entry titled &#8220;OpenOffice.org Base&#8221; (or a variation on that theme). If you do not then you are going to have to fire up your Add/Remove Software utility, search for &#8220;openoffice&#8221; (no quotes), mark OpenOffice.org Base for installation, and click Apply to install.</p><p>After Base is installed go back to the menu and see if the entry is there. If so, click it.</p><p><strong>Running the application</strong></p><div
id="attachment_15727" class="wp-caption alignleft" style="width: 406px"><a
rel="attachment wp-att-15727" href="http://www.ghacks.net/2009/08/26/how-to-create-a-database-with-openoffice-base/base_wizard/"><img
class="size-full wp-image-15727 " src="http://www.ghacks.net/wp-content/uploads/2009/08/base_wizard.png" alt="Figure 1" width="396" height="245" /></a><p
class="wp-caption-text">Figure 1</p></div><p>When you first fire up OpenOffice Base the Database Wizard will start (see Figure 1). The first step is to decide what you want to do. You can:</p><ul><li>Create a new database.</li><li>Open an existing database.</li><li>Connect to an existing database (such as MySQL, Oracle, JDBC, etc)</li></ul><p>For our purposes we are going to create a new database, so select that entry and click Next.</p><p>The next step in the wizard asks if you want to:</p><ul><li>Register the database: Allow the other applications in OpenOffice to have access to the data in the database.</li><li>Open the database upon creation: Do you want to open this database up for use upon creation?</li><li>Create tables using table wizard: Create your database tables with the easy to use wizard.</li></ul><p>For the above I almost always:</p><ul><li>Register the database.</li><li>Open the database upon completion.</li><li>Use the table wizard to create tables.</li></ul><p>Make your selections and click Finish. When you click Finish you will be asked to save your database with a name. Save this database in a directory you will remember, otherwise you&#8217;ll wind up hunting for it later.</p><p>If you selected to create your tables with the Wizard, when you click Finish the Tables Wizard will open.</p><p><strong>Table Wizard</strong></p><div
id="attachment_15736" class="wp-caption alignright" style="width: 436px"><a
rel="attachment wp-att-15736" href="http://www.ghacks.net/2009/08/26/how-to-create-a-database-with-openoffice-base/table_wizard/"><img
class="size-full wp-image-15736 " src="http://www.ghacks.net/wp-content/uploads/2009/08/table_wizard.png" alt="Figure 2" width="426" height="233" /></a><p
class="wp-caption-text">Figure 2</p></div><p>The Table Wizard is simple to use (see Figure 2). The first task is to select the Category of database (Business or Personal). The difference between the categories is that Business tables are geared toward SMB and enterprise work and Personal is geared toward home use.</p><p>After you select your Category choose from the Sample tables drop down. This sample table will give you a selection of table types to choose from. Once you select your type you then move fields from the left column to the right. Make sure you choose your fields carefully because adding or removing them later is not easy.</p><p>You can also move fields up and down in the right column by selecting a field and clicking the up or down arrow. The order in which your fields are in this column will be reflected in your database, so make sure you have them in the exact order you want.</p><p>Once you have all of your fields in place click the Next button.</p><div
id="attachment_15739" class="wp-caption alignleft" style="width: 441px"><a
rel="attachment wp-att-15739" href="http://www.ghacks.net/2009/08/26/how-to-create-a-database-with-openoffice-base/field_type/"><img
class="size-full wp-image-15739 " src="http://www.ghacks.net/wp-content/uploads/2009/08/field_type.png" alt="Figure 3" width="431" height="235" /></a><p
class="wp-caption-text">Figure 3</p></div><p>In the next window you can modify the field type and format. What you are able to modify will directly depend upon both the fields you have chosen as well as your needs. Figure 3 illustrates what you can modify in a sample Employee field listing. Here you will see the details of the FirstName field.</p><p>If you need to make any modifications to your fields do so at this point and click Next when you are finished.</p><p>The next window allows you to set a primary key. You need this otherwise you will not be able to enter data. Since primary keys are often ID numbers I tend to check off the Auto Value checkbox so I don&#8217;t have to enter a key for each record. If you do not use a field like Employee ID you can select to use a field (or combination of fields) as your keys. You can use, for example, employee first and last name as your key. Once you have configured this click Next to move on.</p><p>The final step is to name your table and select what to do next. Your options for what to do next are:</p><ul><li>Insert data immediately.</li><li>Modify the table design.</li><li>Create a form based on the table.</li></ul><p>You have officially created your database!</p><p><strong>Final thoughts</strong></p><p>OpenOffice Base makes creating databases fairly simple. In an upcoming article I will show you how to create a form to make filling out data for you database as easy as it was to create the database itself.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2009/08/26/how-to-create-a-database-with-openoffice-base/feed/</wfw:commentRss> <slash:comments>6</slash:comments> </item> <item><title>If-Else Statements in OpenOffice Calc</title><link>http://www.ghacks.net/2009/01/25/if-else-statements-in-openoffice-calc/</link> <comments>http://www.ghacks.net/2009/01/25/if-else-statements-in-openoffice-calc/#comments</comments> <pubDate>Sun, 25 Jan 2009 16:03:29 +0000</pubDate> <dc:creator>Jack Wallen</dc:creator> <category><![CDATA[Knowledge]]></category> <category><![CDATA[Linux]]></category> <category><![CDATA[Mac]]></category> <category><![CDATA[Open Source]]></category> <category><![CDATA[Software]]></category> <category><![CDATA[Tutorials Advanced]]></category> <category><![CDATA[Tutorials Basic]]></category> <category><![CDATA[Windows]]></category> <category><![CDATA[Calc]]></category> <category><![CDATA[forumula]]></category> <category><![CDATA[IF/ELSE]]></category> <category><![CDATA[openoffice]]></category> <category><![CDATA[openoffice howto]]></category> <category><![CDATA[OpenOffice.org]]></category> <category><![CDATA[spreadsheets]]></category> <guid
isPermaLink="false">http://www.ghacks.net/?p=10119</guid> <description><![CDATA[I do a lot with spreadsheets. And when I work in spreadsheets I work in OpenOffice. Most people know the ins and outs of spreadsheets, but many don&#8217;t realize just how powerful spreadsheets can be. Openoffice Calc holds a lot more bang for the users&#8217; buck than you might think. For instance, did you know [...]]]></description> <content:encoded><![CDATA[<p>I do a lot with spreadsheets. And when I work in spreadsheets I work in OpenOffice. Most people know the ins and outs of spreadsheets, but many don&#8217;t realize just how powerful spreadsheets can be. Openoffice Calc holds a lot more bang for the users&#8217; buck than you might think. For instance, did you know that Calc can do If/Else statements? In this spreadsheet tutorial you will learn how to use IF/ELSE statements in OpenOffice Calc.</p><p>Let&#8217;s say you have two columns of numbers and you want to add a third column based on the other two data. That third columns&#8217; entry will depend upon the information in the first two. IF entry A is greater than B THEN C is X ELSE C is Y.</p><p><span
id="more-10119"></span>But how does one do this? It&#8217;s actually quite easy. Let&#8217;s start out with a more simple example and move on to a more complex example.</p><p>The first example will illustrate a basic IF/ELSE statement that uses only two columns of data. We&#8217;ll do a simple spreadsheet that deals with how many persons each employee will bring to a company picnic. To make things easy if the person enters &#8220;0&#8243; that means they are not bringing a guest (the employee, however,  IS required to come) and if they enter &#8220;1&#8243; that means they are which means that employee equals two attendees. The first column will represent the name of the employee and the second column is how many guests the employee will bring. The formula to enter into the third column would look like:</p><p>=IF(B1=1;2;1)</p><p>What this will do is enter a &#8220;2&#8243; in the third cell is the employee is bringing a guest and a 1 if they are not.</p><p>Now let&#8217;s make this a bit more complex. For this example we&#8217;ll have three columns. The first column is a number that represents how many hours an employee worked. The second column will represent how many hours over 40 they worked. The third column will represent how much overtime pay they made. But let&#8217;s say you also have to account for zero hours worked. The formula for the second column would look like this:</p><p>=IF(A9&lt;=40;0; IF(A9&gt;40;(A9-40)))</p><p>For the third column let&#8217;s continue with this idea. Say if an employee worked over 5 hours of overtime they would gain an extra 100 dollar bonus in their check. So we&#8217;ll add a fourth column for bonuses. For simplicity&#8217;s sake all employees make $10.00 an hour. Overtime is standard time and a half pay. So the forumla for the third column would be a standard:</p><p>=SUM((40*10)+(B9*15))</p><p>And the formula for the fourth column would be:</p><p>=IF(B9&gt;=5;100;0)</p><p>Now for the final total for employee salary a fifth column would be added that would look like:</p><p>=SUM(C9+D9)</p><p><strong>Final Thoughts</strong></p><p>The examples may be very simple but the idea can be applied to many instances. Using IF/ElSE statements in OpenOffice Calc can quickly take your spreadsheets to a much higher level of usability.</p> ]]></content:encoded> <wfw:commentRss>http://www.ghacks.net/2009/01/25/if-else-statements-in-openoffice-calc/feed/</wfw:commentRss> <slash:comments>23</slash:comments> </item> </channel> </rss>
