Question/Observation on relationships

This forum is for application developers who are integrating HanDBase into their solutions via the HanDBase API (HAPI) or other means. It's also a great place to discuss runtime development.

Re: Question/Observation on relationships

Postby shalom » Tue Sep 30, 2014 7:22 am

In the referenced discussion on unique numbers, a device ID was mentioned. How would you create that deviceID without it being overwritten during a sync operation?
Posts: 34
Joined: Mon Sep 29, 2014 9:42 pm

Re: Question/Observation on relationships

Postby Brian_Houghton » Wed Oct 01, 2014 5:45 am

Values used within unique field generation should be static, meaning that they would not be altered anywhere. For example if you were using a combination of date, time, an incrementing number from a calculation and a name, these values would populate automatically upon record generation whether you were using the desktop or handheld. No editing of them would actually occur in either place.
Kind Regards,
Brian Houghton, DDH Software
Posts: 2246
Joined: Wed May 20, 2009 8:30 am

Re: Question/Observation on relationships

Postby dhaupert » Wed Oct 01, 2014 8:25 am

The only time an id type of field would be changed on a sync is if it were a calculation or conditional field, those fields are recalculated from time to time. If you're using the default value of a text field or similar, or a unique field those fields are not changed or recalculated so they would stay the same.
Posts: 4111
Joined: Tue May 26, 2009 11:51 am


Return to HanDBase - Developers

Who is online

Users browsing this forum: No registered users and 1 guest