First of all you need to create a database extra instance
by using the new method
set anyVariable= New ( Xtra "V12be",Name, Mode, Password)
where anyVariable is the database instance, Name is the name of the database file, Mode is the mode in which you want to define your database for example you want to create new database or readOnly or write etc..
the password is the password of your database you can leave
it empty
like
set myVar= New ( Xtra "V12be","GameScore.v12", Create, MyPassword)
Then you need to define you database structure
like creating the table name then the fields of that table
set yourVar = mCeateTable (database instance, tableName)
yourVar is the variable name it could be any var
database instance is instance like myVar in the previous
example.
tableName is the table name you want to create it.
for example
set table_Name= mCeateTable (myVar, "MyGame”)
then create your field s
see the manual it is very useful
I hope that will help.