This function creates a database:

Err  DmCreateDatabase (UInt cardNo, CharPtr nameP, ULong creator,  ULong
type, Boolean  resDB)

Where:

 cardNo is the card where the that will be created
nameP   is the name of the database(up to 31 characters)
creator   is the creator id.
type  is the type.
resDB   if true, will create a resourse database. (You must set this false)

 This function returns 0 if no error, or the error code  if an error occurs



Federico Vaggi
Irion S.A.
Av. Cordoba 795 - 1Piso Of. 2
(1054) Cap.Fed. - Bs.As.
T/4315-5556 int. 118
F/ 4315-8260

----- Mensaje original -----
De: "Carl Smith" <[EMAIL PROTECTED]>
Para: "Palm Developer Forum" <[EMAIL PROTECTED]>
Enviado: Thursday, October 26, 2000 11:05 AM
Asunto: Creating Databases Dynamically


> Does anyone know of or have suggestions on the possibility of creating DBs
> dynamically? In other words I want to create a database(s) as the
> application is running. The application would start with one or two static
> dbs but as the user needs I would like to create other dbs, depending on
the
> user's input.
>
> Thanks in advance
> Carl
>
>
>
> --
> For information on using the Palm Developer Forums, or to unsubscribe,
please see http://www.palmos.com/dev/tech/support/forums/


-- 
For information on using the Palm Developer Forums, or to unsubscribe, please see 
http://www.palmos.com/dev/tech/support/forums/

Reply via email to