NetTalk Central

Author Topic: Phone app Server sync  (Read 3147 times)

Amer

  • Newbie
  • *
  • Posts: 7
    • View Profile
    • Email
Phone app Server sync
« on: May 14, 2020, 05:02:14 AM »
Hello,

I think that I followed steps for creating a phone app with sync to the server.
Created Admin app only
 Sync app
 Phone app
In Admin app I inserted 1500 rows for warehouse inventory, with server code.
Required columns are there GUID,sts,ts,dts.
sts=p_web.GetElapsedTimeUTC()
ts=sts

Problem is that when I start the phone app + sync , my 1499 rows didn’t synchronize on phone ,but just one row.
I really don’t know what is a condition for that “randomly” row.
Application is with initial settings, so as far as I know there are no sync filters .
Let me mention that when I insert a row on phone , it’s automatically synced with the server.
Point is that the phone needs to make updates on rows, which has to be sync to server.

Any help?

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Phone app Server sync
« Reply #1 on: May 16, 2020, 10:26:30 PM »
Hi Amer,

I'd need an example to see what you have done, or are not doing Amer.

cheers
Bruce

Amer

  • Newbie
  • *
  • Posts: 7
    • View Profile
    • Email
Re: Phone app Server sync
« Reply #2 on: May 20, 2020, 10:57:49 PM »
Hi Bruce,

The problem was in me of course.  I use MS SQL server database. Point is that I didn't put the unique key in the table , as I mention that in Clarion dictionary. After trying to sync that data with IndexedDB, only one row was synced. What did I expect?

Thanks again for the reply.

Amer