DBASE...

Top  Previous  Next

For own purposes, namely for the realisation of the plan management, is in Moskito a data bank in the DBASE format built-in. This can be used not only by our routines, but is available to all users. All routines of this group have the prefix DBASE in the name of. There is a group of procedures which can put on a new DBASE data bank and fill with fields, a group for opening, fastenings of data banks and for binding of indexes to the single fields as well as a group to the insertion, extraction and changing of records. As a specific feature there is the possibility to build up a position index on data bank fields. With this the user is able to assign a surface in a level to every record and then to find all records which contain a certain point of this surface. This is required for discovering by plans after a position and is made available after Outside. The other indexes, i.e. of clue for text fields, are not to something other than Moskito compatibly, for it, however, fast.

A normal access to the data bank proceeds in such a way that a record is searched, he is loaded possibly with DBASEfindDataset, then with DBASEgetDataset. Then the single fields of the record DBASEgetField and DBASEputField can be determined and be changed. If the record should be written back in the data bank, this happens with DBASEputDataset, but the record with DBASEdisposeDataset can be destroyed.

Before the first operation the data bank with DBASEopen must be opened and a trading is provided for this data bank. After the last data bank operation this must be closed again with DBASEclose.

Because the data bank is determined above all for the internal use, many functions are developed only so far as it is necessary for this use.

If other functionality needs, turn please to us.