Resource DB Access

Discuss OrbForms Designer and PocketC Architect

Postby bobchernow on Wed Jul 24, 2002 12:16 pm

Help, I am trying to write a PAlm Preference Manager using Orbforms. I have the GUI almost done but hit a road block. I need to access the Saved/Unsaved Preferences DB. They are both Resource DB's and not Normal DB's. In order to use the GetRes function I need to provide the ID and Type. I need to iterate thru this DB so I do not know what is in it to begin with. Palm has a function to get the ID/Type via an index but that does not seem to be exposed in Orbforms. Is there another way. Access via GetRec does not seem to work.


Bob Chernow
Bob Chernow
Posts: 5
Joined: Mon Jul 08, 2002 11:26 am
Location: USA

Postby dewey on Mon Jul 29, 2002 3:52 am

1.1.2 Added the method Database.getresinfo() to enable you to get the id and type of the resource by index. This way you can iterate over each resource.
Site Admin
Posts: 749
Joined: Sun Oct 21, 2007 5:12 am

Return to OrbForms Designer and PocketC Architect

Who is online

Users browsing this forum: No registered users and 5 guests