home *** CD-ROM | disk | FTP | other *** search
- This is the official documentation for MaxBase V 2.4
-
- Index:
-
- 1 .. What Is MaxBase?
- 2 .. Features available
- 3 .. Menu Structure
- 4 .. Limitations
- 5 .. Legal Stuff
-
-
- 1 What is MaxBase?
- ------------------
-
- MaxBase is a graphical tool that allows you to manage your
- databases, both as a database administrator (working with DBs structure),
- and as a user. Of course the db created with MaxBase are compatible with
- the RXDbase class, and vice versa, since MaxBase is only a front end
- to the RXDbase APIs.
- At the moment, nearly all of the RXDbase 0.84 features are implemented.
-
- MaxBase can be useful if you want to create a DB without 'hardwiring' it
- into your application. When you create a new DB with MaxBase, you actually
- create a .DAT and some (at least one) .IDX files.
- Ship these all with your application, and simply connect to them with a
- xxx.connect(rFileName) in your source.
-
- MaxBase can be used as a stand-alone application, also, and so now you've
- found a truly portable phone book (and now it's fast, too). :)
-
-
-
- 2 Features available:
- ---------------------
-
- First of all, let's say that not all the features are available at any
- time; they show up only when they make sense (i.e. you won't see
- the 'logout' function if you're not logged in to a database).
-
- Also, you can select which of the standard MaxBase's functions are to be
- activated upon MaxBase startup. If MaxBase finds a file called maxbase.mnu
- then it reads all the strings in it, and labels buttons and text bits
- after those strings. If a button string is set to '-' (the dash character,
- without the single-quotes), then that button is disabled. If maxbase.mnu
- doesn't exist, then the default strings will be used.
-
- NB: All the messages and buttons presented to the user are configurable
- through the customization of maxbase.mnu ASCII file, and that means also
- that you can _translate_ maxbase from english to other languages (as
- examples I've put in this package the english and the italian translations;
- if you translated MaxBase into another language let me know!).
-
- MaxBase can be given a parameter in the command line: the name of the
- database to log in to at startup (trailing .dat extension NEEDED).
- E.g.: 'java MaxBase imgs.dat' or (OS/2's 1.0.1 Java) 'javapm MaxBase imgs.dat'
-
-
- Just another thing: you can expand MaxBase functionalities through
- the use of plug-ins. Refer to the plugins.zip package for more details.
-
-
- ".dbf->.dat" lets you convert a DB III/IV file into RXDbase native format.
-
- ".dat->.dbf" converts a RXDbase native file into a DBIII/IV archive.
-
- "Login" and "Logout" functions let you connect to a database, and the
- records that this latter contains will be displayed .
-
- "Del DB" lets you delete from the HD the db on which you're working.
-
- "New DB" is meant for creation of a new database.
-
- "Pack DB" lets you pack the archive: it deletes the records that are
- marked as 'discarded' and rebuilds all the indexes. It may take some
- time.
-
- "Add Fld" - "Del Fld" allow you to add/delete fields from the archive
- while it is still open. Warning: you must have at least one indexed
- field on the archive (you won't be able to delete the last indexed
- field).
-
- "Sel All" - "Des All" do selects/deselect all the records that are loaded
- into MaxBase.
-
- "Mod Index" lets you modify the indexing strategy for a field; it works
- similarly to "Add/Del Fld".
-
- "Property" brings up a panel where you can state if you want to load for
- display all the articles in the archive or the first 50 only. It defaults
- to the first 50, and helps keeping MaxBase quick (it will be more useful
- when the 'search' functions will be introduced).
-
- "Add" - "Modify" - "Delete" do what the names suggest; they work with records.
-
- "Form View" lets you see the currently selected record in, guess what,
- a form view. This can be very useful, for example if you have records
- which length makes them not to appear fully in the one-line view, or if
- you need to put in the clipboard the contents of a field (E-mail addresses
- or home page URLs come to mind).
-
- "Order By" Lets you choose which index to order the db on.
-
- "Refresh Now" refresh the current view with the contents of the db stored on
- disk. Useful if you are using the "First 50" visualization strategy and delete
- a lot of records.
-
- "Set Filter" Lets you set filtering conditions for the records showed.
- A note about filtering:
- Filter sentences are divided by the .&. token, which means "logical AND".
- You can setup as many as 100 of them.
-
- From RXDbase.doc (adapted):
- -----------
- Operators recognized: >,>=,<,<=,=,<>.
- Wildcards are allowed only for the = and <> operators, and they are represented by
- the symbol '*', which means "every number of any character".
- So, Ro* can be Robert, Ronald, etc.
- *t can be Matt, Robert, etc.
- M*t can be Matt, mount, etc. (The search is always case-insensitive)
-
- You can use only one '*' on a given filter (e.g. you can't query for "Name = *u*i*l*"),
- with the notable exception of the form *value*, which means "find a substring anywhere
- that is equal to 'value'".
- Example: "Telephone = *555*" will search for all phone numbers with a 555 in them.
-
- If you specify a filter condition when another one is in use, the first one will be
- dropped, and the most recent one will be used.
-
- Passing as a value the null string will reset the filter conditions.
- -----------
- Example of valid filter sentence:
- Name=M* .&. Surname =Johnson .&. Age >25 .&. Sex = M
-
-
-
-
- 3 Menu Structure
- ----------------
-
- Main Panel : 'Tools..' 'Records..' 'Login|Logout' 'Sel All' 'Des All' 'Order By..' <Plugins,if any>
-
- Tools Panel : 'New DB' 'Del DB' 'Pack DB' 'Add Fld' 'Del Fld' 'Mod Index' '.dbf->.dat' '.dat->.dbf' 'Properties' 'Main Panel..'
-
- Records Panel: 'Add' 'Modify' 'Delete' 'Set Filter' 'Form View' 'Refresh Now' 'Main Panel..'
-
-
-
- 4 Limitations: (these may be removed as MaxBase is enhanced)
- --------------
-
- You can create only DBs with <100 fields, although you can LOAD db with
- more than 99 fields.
-
- Record undelete is not supported.
-
- MaxBase works only with files that are stored in the directory where MaxBase
- resides.
-
-
-
- 5 Legal Stuff
- -------------
-
- MaxBase is a graphic frontend for the RXDbase class. It follows the RXDbase
- licensing schema. See RXDbase.doc for details.
- MaxBase is (c) Max Marsiglietti 1996, 97.