NetTalk Central

Author Topic: NT Mobile Issue - Adding records to a Browse within a Form  (Read 3746 times)

Devan

  • Full Member
  • ***
  • Posts: 230
    • View Profile
    • Email
NT Mobile Issue - Adding records to a Browse within a Form
« on: August 26, 2012, 04:24:01 PM »
We have a NetTalk app which runs on both the desktop and mobile platform.

There are a couple of screens which use a Form with a Browse within it.  For example, the Order Header form with the Order Lines as a Browse on the same screen with associated buttons to Add/Change/Delete Order Lines.

On the desktop version, the app works well.  Users can Add an Order Header, change details, then Add Order Lines to it and Save the Order Header ok.

On the mobile version though, whenever a user Adds a new line to the Order Lines, fills out the Order Lines form and taps 'Save':
* on iPhones, the app comes back to the Order Header screen with the following error: 'record not found: (5) Error 0: form key OHD:ID_Key' where OHD:ID_Key is the unique index for the Order Lines browse.  The new Order Line seems to have saved OK though.
* on Android devices, then app goes right back to the app home screen with no error, but the order (or the order lines) does not get saved at all.

I am thinking I have missed a critical field somewhere in the Form definition which resets the record pointer perhaps?

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11308
    • View Profile
Re: NT Mobile Issue - Adding records to a Browse within a Form
« Reply #1 on: August 27, 2012, 01:31:40 AM »
can you make a small example demonstrating the effect Devan?