Re: Access to GEOS dbase in OG

Illini1970@aol.com
Sat, 8 Jun 1996 15:10:54 -0400

On 6/7/96 Hans Diel asked:
>>>Can anybody help me in accessing the GEOS database on an OMNIGO 100. ( I
beliefe that my questions apply only to the OMNIGO version of GEOS, but I am
not sure).
The documentation in the GEOS SDK descibes API functions only for reading an
existing database file, but no API for update or for the creation of new
database files. Any help would be very much appreciated.<<<

Hi Hans,

I don't have an OG but I have looked at the OG SDK. All of the programs I've
written for Breadbox have been aimed at Ensemble users. It seems that there
are two types of Databases on the OG:

An HP database model which is used by the OG phonebook and other OG specific
apps. It is described in Chapt Seven of the Omnigo Book and has a sample app
(HPDB) in the \APPS directory of the CD. Although I can't find any direct
document support on how to set up a new database, Chapter 7 does show how to
add a record if you know the db format. It also shows how to use DDT.EXE
(Database Diagnostic Tool) to check out the format of a database. I don't
know if by using these two sets of information you can find enough to write
your own databse in the HP database model.

If you don't care about the existing HP databases you can use the Geos
database model described in Chapt Nineteen of the Concepts Book. This model
also has a sample app called DBSAMP in the \APPS directory. I have used this
database model in three app I have written. I used the sample app as my
starting point. If you have any questions about this database model, I would
be happy to try to answer them.

Hope this helps...
John Howard
Breadbox Developer