Accessing databes names?

Discuss PocketC for Palm OS (including Desktop Edition)

Postby mbaker on Thu Mar 01, 2001 7:42 pm

Is there a way to access database names within a Pocket C program? I want to provide a directory of databases for a user to select from. The database could have the same creator ID as the program, but it must be able to find databases installed by hotsync rather than created by the program.
mbaker
 
Posts: 8
Joined: Tue Dec 05, 2000 12:00 pm

Postby stephane on Thu Mar 01, 2001 11:22 pm

If you know the creator ID, then use the PocketC dbenum() function.


St?ɬ©phane
Stéphane
stephane
 
Posts: 71
Joined: Fri Jan 12, 2001 3:16 am
Location: Canada

Postby mbaker on Fri Mar 02, 2001 1:59 pm

Thanks a million! I didn't realize that is what "enumerate" meant. I feel silly that the function I needd was in front of me all the time.
mbaker
 
Posts: 8
Joined: Tue Dec 05, 2000 12:00 pm


Return to PocketC for Palm OS

Who is online

Users browsing this forum: No registered users and 1 guest

cron