> Would I be able to port this to the Palm Database?

Of course assuming you sort out the pointer problems others have mentioned. You normally wouldn't use fixed lengths for strings either, BTW.

There are far more complicated structures than that around :-) Just have a look at the datebook record structure sometime - things appear and disappear, they can get really big or really small...

I understand how conduits work (I think?), but I also want a create a
> app on the PC side that will let me tweak and values I have in this database?

Fine. But since you're on the PC, use a form of data storage that makes sense on the PC. A Palm database file is not one of those things. Use a proper database, or XML or whatever you would normally use for a PC app.

I thought conduits are just used for Syncing the changes? Not editing?

Yes.

In the general case there are 3 parts to a Palm application :

- the app on the device
- an app/database on the PC/server/internet
- a conduit to sync between the two

But if I have an array of the structure below how would I track this with the 
Database manager?

Either put the array into a record or have many records or both, whichever you prefer.

A Palm database is essentially just a list of blobs (which they call records). You can out anything you like into each blob. There is no metadata like proper databases, so the Palm database doesn't care what you do in a record. You can put a string in one, 3 integers in the next one and a bitmap in a third.

You will therefore have to write code to get at whatever is in your records, but all Palm applications do that, so there are lots of examples of how that is done.

Cheers,
Jim Cooper

__________________________________________

Jim Cooper    [EMAIL PROTECTED]
              Skype : jim.cooper
Tabdee Ltd    http://www.tabdee.ltd.uk

TurboSync - Connecting Delphi to your Palm
__________________________________________

--
For information on using the PalmSource Developer Forums, or to unsubscribe, 
please see http://www.palmos.com/dev/support/forums/

Reply via email to