d.***************************************************************
.* Filename: MBASE.SGS *
.* *
.* This file is parsed by sguide.exe to generate panels for *
.* the Guidance on MaxBase Use WarpGuide. *
.* *
.***************************************************************
.* TRANSLATOR DIRECTIONS: *
.* *
.* If the words do not fit in the panel, a scroll bar will *
.* be dynamically created on the right side of the panel. *
.* To eliminate the scroll bars adjust the low-res-size, *
.* med-res-size, and high-res-size of the Welcome to the MaxBase SmartGuide!
First off, please check to have the following items in your MaxBase folder
on the WPS:
If you don't have one or more elements, it means that the installer couldn't do its job properly. Please contact MaxBase author (see BUGS! section) specifying your setup and other relevant info (use of WPS utilities, etc).
Things to have and to do to use MaxBase.
Warning: to launch the following program you need to have EPM installed.
(close it when you have finished) How to use MaxBase. MaxBase ("Open Local DB", or "java MaxBase" from the command line) is the program used to:
Let's expand this latest point. To work with your data, you can go to the record panel and add/modify/delete records, order the db on a field, set a filter and so on. Note that when you add one or more records, you must hit the 'refresh' button to see them. When you exit from MaxBase, the current settings (window size/position, properties, filter, used index) will be saved on the directory you have started MaxBase from. If you have installed plugin support, in the main panel you will also see the buttons to launch the plugins (See the plugins page for details). Available shortcuts from within MaxBase:
Why such funky key combinations? Because There is no standard TAB in Java for example. Yes I know you're using OS/2 and your TAB key is just fine, but this program can be used also on NT, Unix etc. Warning: you should reboot your computer after installation before using MaxBase for the first time.
If you did that, and you want to play with MaxBase now, hit the "start MaxBase now" button. How to expand MaxBase capabilities. MaxBase can be expanded by means of PLUGINS, small NetRexx (or Java) programs that let you do things on selected records. But how do they work? When MaxBase starts up, it looks (among the other things) in the directory it was launched from, for the file plugin.ini. If it is present, you should have one or more couple of lines, the first being the name of the plugin, the second being the program to launch when the button is pressed. After the plugin has initialized itself, it receives from MaxBase info about records selected, and therefore it can do what it wants on them (locally, NOT on the real DB data), like printing them, using the infos to draw a graph, etc. The included plugins are txtimg (a plugin which will show images and associated text, see the imgs.dat database for an example) and printrec (a plugin which will print record data).
How to get the most from your MaxBase under OS/2.
MaxBase integrates nicely with OS/2 WorkPlace Shell, even though it doesn't interact with SOM/DSOM. The installation program created some objects in your WPS, and they have been created this way in order to let you use MaxBase in a document-centric fashion.
Drag a "new db" from its template to the db_store shadow folder (the original is a subfolder of the main MaxBase directory) to create a new database, customize its name, and then double click on it. Now go to tools..Field Related..Change field name and change the field name. Add other fields, then start adding records. Yes, it is that easy!
When you right click on a .DAT file (the default association for MaxBase DBs) and left-click on 'open as..' you will see at least two options:
I strongly recommend you to use this document-centric way of operating, since it is very powerful. Since MaxBase looks in the directory from where it is launched (and when you double-click on a DB MaxBase is launched from that DB directory) you can (and should) have customized .INIs, menus and plugins for every DB. Also, when you exit from MaxBase, the program will save in the current directory the current settings (window position, active query, how many records to display at once, what index was used last time), so this will add more power to the document-centric way of using MaxBase: it will be like having "customized views" for every DB.
NOTES:
Things to know when using MaxBase.