NetTalk Central

Author Topic: Nettalk 5 - Browses with unique key with multiple components  (Read 5348 times)

alex.kolaric

  • Full Member
  • ***
  • Posts: 151
  • Do it or do not, there is no try
    • View Profile
    • Email
Nettalk 5 - Browses with unique key with multiple components
« on: December 13, 2011, 02:10:32 PM »
Hi,

Are browses with unique key with multiple components working properly in Nettalk 5? I need to build few pages for some tables in customer DB that have PK defined with multiple components.

thanks,
Alex

alex.kolaric

  • Full Member
  • ***
  • Posts: 151
  • Do it or do not, there is no try
    • View Profile
    • Email
Re: Nettalk 5 - Browses with unique key with multiple components
« Reply #1 on: December 13, 2011, 03:29:59 PM »
I tested browse on one of the tables where PK has 2 fields. Data is displayed correctly, however when I click on next button, navigation buttons disappear. Using version 5.37

Any help is appreciated.

Thanks,
Alex

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Nettalk 5 - Browses with unique key with multiple components
« Reply #2 on: December 13, 2011, 11:53:40 PM »
Hi Alex,

While some multi-component-key things work in NT5, it's not officially supported there. In NT6 it is supported, so if there's a problem there then it's a bug.

cheers
Bruce


alex.kolaric

  • Full Member
  • ***
  • Posts: 151
  • Do it or do not, there is no try
    • View Profile
    • Email
Re: Nettalk 5 - Browses with unique key with multiple components
« Reply #3 on: December 14, 2011, 03:43:20 AM »
Thanks for the answer Bruce.

Is there any way to make it work without you updating NT5 (I guess you won't be doing any such thing now NT6 is out)? This is rather simple thing, I need one browse for displaying  data from one table with 2 component PK and the main problem is that Previous and Next buttons are not working properly. So if you could point me, at least, to some tweak I could do to make it work I would appreciate it.

Thanks again,
Alex

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Nettalk 5 - Browses with unique key with multiple components
« Reply #4 on: December 14, 2011, 04:15:18 AM »
hi Alex,

it's possible the problem is not the key.

Open Firebug in Firefox, and go to the browse.
Now open the firebug "console" window, and then click on the "Next" button.

You should see the response apepar in the console. Open the response, and choose the XML tab. If you see any kind of error there, then that implies something in the response was not xHtml compliant. This is the most common reason for the browse buttons to fail.

see attached pic.





[attachment deleted by admin]

alex.kolaric

  • Full Member
  • ***
  • Posts: 151
  • Do it or do not, there is no try
    • View Profile
    • Email
Re: Nettalk 5 - Browses with unique key with multiple components
« Reply #5 on: December 14, 2011, 04:22:27 AM »
Thanks Bruce,

I will try that.

Regards,
Alex