Page 1 of 1

PostPosted: Wed Jul 24, 2002 12:16 pm
by bobchernow
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

Bob Chernow

PostPosted: Mon Jul 29, 2002 3:52 am
by dewey
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.