Question on using dbcreatex

Discuss PocketC for Palm OS (including Desktop Edition)

Postby toothxpick on Sun Apr 01, 2001 7:50 pm

In the built-in function html file, it states that dbcreatex function is defined by dbcreatex(string name,string creator,string type)

What is the value for the "type"?

I tried creating a database and it returns a 0(failure), am I doing something wrong?
toothxpick
 
Posts: 3
Joined: Sat Feb 17, 2001 7:03 pm
Location: USA

Postby SyPDA on Sun Apr 01, 2001 9:26 pm

Try "user" as type. That should work...
SyPDA
 
Posts: 94
Joined: Tue Dec 05, 2000 8:08 am
Location: Germany

Postby awschwab on Sun Apr 01, 2001 10:13 pm

If you are using dbcreatex() rather than dbcreate(), you probably want to choose your own type. Use a string of four characters. Your problem might have been a longer string.
awschwab
 
Posts: 270
Joined: Tue Feb 06, 2001 2:33 pm
Location: USA


Return to PocketC for Palm OS

Who is online

Users browsing this forum: No registered users and 4 guests

cron