Configuring and Using Databases

From NeoWiki

(Difference between revisions)
Jump to: navigation, search
Revision as of 04:10, 12 April 2006 (edit)
Sardisson (Talk | contribs)
m (dbf import tip (sandbox))
← Previous diff
Current revision (01:50, 24 July 2007) (edit) (undo)
Sardisson (Talk | contribs)
(Lorinda moved everything interesting to NeoBase; redirect people there from other old links)
 
(10 intermediate revisions not shown.)
Line 1: Line 1:
-{{handbook sidebar|DatabaseTOC}}+#redirect [[NeoBase]]
- +
-While [[NeoOffice|NeoOffice 1.2.x]], NeoOffice/J 1.1 and [[OpenOffice.org Mac OS X (X11)|OpenOffice.org/X11 1.1.x]] do not include a separate database component like Microsoft Access, it is possible to use all of these programs to connect to existing MySQL or hsqldb databases and enter or manipulate data, including creating detailed forms and reports. +
- +
-If you do not have a MySQL or hsqldb database, you can also create a simple database in NeoOffice or OpenOffice.org/X11—or even use a Calc table if your needs are very simple.+
- +
-The various pages of this article contain information on installing, configuring, and using a these databases with NeoOffice or OpenOffice.org/X11.+
- +
-''Maybe insert a screenshot here to balance the length of the page vs. the length of the TOC--the TOC will get shorter when the articles are done, but storing comments there now until we decide on page names, etc.''+
- +
-''Include a reference to the [[Importing_Data_from_Address_Book|Address Book]] article somewhere, though it's not part of this article''+
- +
-===dbf import tip===+
- +
-The table structure of the dbf file for all the fields+
-containing leading apostrophes say they are characters. This can easily seen if+
-you import the DBF file and look at the first row. All columns have a header+
-defining it. C is for characters (text), N would be nummeric.+
- +
-So Calc imports the values correctly as Characters. As the numberformat for the+
-default template is set to nummeric, a apostrophe is placed in front of the+
-value to make it a text.+
- +
-To change such text values to real nummeric values, you have two choices.+
- +
-1.) Change the field setting in the DBF from C to N and re-import the file or+
-2.) use the Search and replace functionality. Open the search and replace dialog+
-and enter '.*' (without the quotes) into the search field. Type '&' (also+
-without quotes) into the replace field. Now press on the More Button and tag the+
-option Regular expression. Click on replace all and all the apostrophes should+
-be gone.+
- +
- +
-[[Category:Tips and Hints]][[Category:NeoOffice]][[Category:OpenOffice.org]][[Category:Fixme]]+

Current revision

  1. redirect NeoBase
Personal tools