Reading this again I will clarify: the problem occurs on top of the Styletap
platform, running on top of a Windows Mobile Device Emulator.

Cheers.

On Wed, Apr 1, 2009 at 12:28 PM, Jonathan Carse <[email protected]>wrote:

> Hey folks,
>
> Still trying to get my application running with Styletap.
>
> This time I've generated a PDB database from my Access one using the format
> described here: http://www.nsbasic.com/palm/info/technotes/TN02a.htm
>
> The problem: I assign each my records a unique ID when I generate the file,
> starting at 1. But, when I add a record on the device, for some reason the
> new record gets the ID of 2, even though it's already taken.
>
> How can this be? Doesn't the device check to see if the ID already exists
> in the database?
>
> Since I saw there's a field called "Unique ID Seed" at offset 0x44 in the
> PDB file (not really documented), I tried looking at what the field has in a
> "normal" situation (I exported the same database from the Palm Emulator).
> The seed had the value of 0x40000000 (UInt32). I tried re-generating my
> database with that value for unique ID seed. Then, the device not only keeps
> insisting on writing 2 as the new ID, but changed the unique ID seed to
> 0x00000003 (?!?!?!?)
>
> What the hell is going on, does anybody know?
>
> Thanks! :)
>
> Jonathan
>

-- 
For information on using the ACCESS Developer Forums, or to unsubscribe, please 
see http://www.access-company.com/developers/forums/

Reply via email to