NetTalk Central

Author Topic: record not found: (5) Error 0: from key INV:InvId_K  (Read 3484 times)

ccordes

  • Sr. Member
  • ****
  • Posts: 384
    • View Profile
    • Email
record not found: (5) Error 0: from key INV:InvId_K
« on: August 23, 2010, 06:49:04 PM »
I am getting this error when I use the update buttons on the browse.
If I use inline Change button on each row, it works!
There is something here I'm missing. It is too simple to be this messed up.
This happening in the multi-dll app as well as a single app exe.
Simple browse form example works, but I can't see what the difference is.
Even the simple Browse Form Example #1 doesn't work.
reinstalled nettalk 5.29
got the netall.clw error again.
no joy.  :(

Real programmers use copy con newapp.exe

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: record not found: (5) Error 0: from key INV:InvId_K
« Reply #1 on: August 24, 2010, 10:08:41 AM »
are you using multi-component keys?
at the moment you should only be using single-component keys.

also, do the browse and form have the same key?

also - is the key component included on the form as a form field. It should _not_ be, unless it is a _display_ field only.

Cheers
Bruce

ccordes

  • Sr. Member
  • ****
  • Posts: 384
    • View Profile
    • Email
Re: record not found: (5) Error 0: from key INV:InvId_K
« Reply #2 on: August 24, 2010, 10:28:38 AM »
I use only single long-autoinc sys_id keys to keep things simple.
Yes Browse and form both use the same key (you made me look though)
I had it as a display field and removed it anyway.
no joy.
Real programmers use copy con newapp.exe

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: record not found: (5) Error 0: from key INV:InvId_K
« Reply #3 on: August 24, 2010, 10:30:49 PM »
I guess the next step is for you to send me an example.

cheers
Bruce

ccordes

  • Sr. Member
  • ****
  • Posts: 384
    • View Profile
    • Email
Re: record not found: (5) Error 0: from key INV:InvId_K
« Reply #4 on: August 25, 2010, 05:25:02 AM »
I don't know what did it, but it is working now that I've installed the REAL PR29 ;)
Watching the log I could see that the Change button click sent INVId=0 to the form, while the the in-line button sent the correct record Id.
If I can make it break again, I will let you know.
Thanks,
Chris
Real programmers use copy con newapp.exe