The PalmOS provides no structure below the record level.
If you are working with a database for an app you created you know the
number of fields or know how to determine them based on the record structure
you defined.
If you are working with a database for an app not under your control you
have to depend on doc for the record stucture (code or separate doc) and use
that to determine how you identify the fields.
If you are working with a database for an app for which you do not have doc
for the record structure (no code or other doc), you are out of luck (or
must reverse engineer it).
>Yea, I personally know how many fields are in my database cause I created
>it. Ok, say there are 5 fields, is there any way to programmiticly go
>through and count all 5 fields and return the number in an integer form, or
>would I just have to tell it that there are 5 fields? Ex:
>
>is there someway i could do something like:
>Int NumOfFields = FunctionToCountFields(some kind of database ptr);
>
>or would I have to just say:
>Int NumOfFields = 5;
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/