Editing Easy DB Help File

Jump to navigation Jump to search

Warning: You are not logged in. Your IP address will be publicly visible if you make any edits. If you log in or create an account, your edits will be attributed to your username, along with other benefits.

The edit can be undone. Please check the comparison below to verify that this is what you want to do, and then save the changes below to finish undoing the edit.

Latest revision Your text
Line 127: Line 127:
  
 
== Prepare Some Data ==
 
== Prepare Some Data ==
Start the system, then press the button in the form area <Make Generic Input>
+
Start the system, then press the button <Make Generic Input>
this will make a generic input form, a template for
+
    this will make a generic input form, a template for
defining a database table and its data.  The system will
+
    defining a database table and its data.  The system will
use your systems text editor to open the file.
+
    use your systems text editor to open the file.
 
      
 
      
Save the file with a new name so it will not get overwritten the next time <Make Generic Input> is run.
+
Save the file with a new name so it will not get overwritten the next time <Make Generic Input>
 +
    is run.
  
 
Now we will edit the file for your new set of data.
 
Now we will edit the file for your new set of data.
Note that the file is full of comments ( lines starting with # )
+
    Note that the file is full of comments ( lines starting with # )
* The purpose of the file is still insert, so do not change that
+
    The purpose of the file is still insert, so do not change that
* The name of the table should be changed to something like dogs  ( generic_table_name => dogs )  
+
    The name of the table should be changed to something like dogs  ( generic_table_name => dogs )  
*Now we come to the column or field names, change them for the dogs, something like:
+
    Now we come to the column or field names, change them for the dogs, something like:
 
 
 
         ( name_first:    => dog_name:
 
         ( name_first:    => dog_name:
 
           name_middle:  => breed:
 
           name_middle:  => breed:
 
           name_last:    => typical_weight: )
 
           name_last:    => typical_weight: )
* There are repeated records ( rows ) for this, get rid of the excess and make a bunch of sections so you have one section for each of the dogs you plan to enter. ( or make the sections as you go ).
+
    There are repeated records ( rows ) for this, get rid of the excess and make a bunch of
 +
    sections so you have one section for each of the dogs you plan to enter. ( or make the sections as you go )
 
      
 
      
* Enter your data, only one line per item of data.
+
Enter your data, only one line per item of data.
 
   
 
   
* When you are done your file should look like the generic file, but now specialized for dogs.
+
When you are done your file should look like the generic file, but now specialized for dogs.
 
 
* File it away ( remember its name )
 
  
 +
File it away ( remember its name )
  
 
Now for the input file <Browse...> to the file you just made.
 
Now for the input file <Browse...> to the file you just made.

Please note that all contributions to OpenCircuits may be edited, altered, or removed by other contributors. If you do not want your writing to be edited mercilessly, then do not submit it here.
You are also promising us that you wrote this yourself, or copied it from a public domain or similar free resource (see OpenCircuits:Copyrights for details). Do not submit copyrighted work without permission!

Cancel Editing help (opens in new window)