-----BEGIN PGP SIGNED MESSAGE-----
Paul Gilbert wrote:
[...]
> 2) This may be a silly question, but how does the Memory application
> determine the number of records (for display) done by an application. If
> say, an application has two tables: a master and client table, but it
> would only make sense to display the number of records in the master
> table, is there a way to confine the record count to only the master
> table? If I
> change the creator ID for the secondary table, then it comes up on it's
> own in the record listing, which isn't desirable.
Something I noticed in this statement. You mention applications having
master and client tables. I believe this is an indicator of a
misunderstanding of what a Palm "database" is.
A palm database does not have tables in it, per se. It is a collection of
records, but there are no fields in the records. A record just contains a
blob of binary data, up to ~64K bytes. There is also no relationship
between records or fields, unless imposed by the programmer on the
application level.
Think of them as souped-up flat files, not "databases". Calling them flat
files is wrong too, but it doesn't create as much confusion as saying
"database" does. (Most people think of SQL/Oracle/Access/etc.. when they
hear "database")
As for changing the creator ID of the other database, that won't show up
by itself in the Info screen, nor will it be counted by the record count.
It will also not be deleted when the user removes your app, which is very
bad.
I doubt that most people ever look at the record count listing, so I
wouldn't worry about it.
- --
Brian Mathis
Direct Edge
http://www.directedge.com
-----BEGIN PGP SIGNATURE-----
Version: PGP 7.0
iQEVAwUBOk7/AbGo2cj8O3o1AQG4eQf/Vz1aP9+LKYLxrjSK8z8tz/yGPORnj5qV
3frViwQgLD0H/99Cd+Ni03eNfob6Yhnzn5EAT3GLFKwwB6UAH07G5YdCKnbZAMG5
JHgDSA9mJu2+aq8+UHfeCLwNIw6C81bcwqiANzsvVV0QKX5mAr4+VT7QIMis+wqs
qAerc3bR95g42ACDKPy1hNtQQ0jPNcjUA7e303vGj2ZiGIUCjB3fx9a4B3T6BrfQ
cqxniM51sWpMLZWMUrG7jhJnU/9W2uzOzkbT+UBPA+t16F9jwUenrrbCaF1iNbJM
1qkc/UxixI96PTiuWQRT0VMCc06y3jWqZQKPnFwFELYl/hQC0zYusQ==
=0/uy
-----END PGP SIGNATURE-----
--
For information on using the Palm Developer Forums, or to unsubscribe, please see
http://www.palmos.com/dev/tech/support/forums/