NetTalk Central

Author Topic: NetTalk 5 - Problems with navigation buttons  (Read 4241 times)

alex.kolaric

  • Full Member
  • ***
  • Posts: 151
  • Do it or do not, there is no try
    • View Profile
    • Email
NetTalk 5 - Problems with navigation buttons
« on: December 15, 2011, 08:37:08 AM »
Hi,

I have weird problem with browse navigation buttons in NT5. When the browse is re-sorted by column different then default sort order column and I click on Next button browse becomes empty and navigation buttons disappear. If I click on Last button browse shows last page of records and navigation buttons remain visible. If the browse box is sorted by default column defined in application everything works as expected. Using NT5.37 with multiple MSSQL tables joined by dictionary or custom join where primary file has unique key with only one component.

Any suggestion is greatly appreciated.

Thanks,
Alex

terryd

  • Hero Member
  • *****
  • Posts: 759
    • View Profile
    • Davcomm
    • Email
Re: NetTalk 5 - Problems with navigation buttons
« Reply #1 on: December 15, 2011, 10:11:14 AM »
Hi Alex
I have found this when the column selected is a looked up value from a parent file. Does this happen on columns native to the primary table selected in the Table Schematic as well?
Terry Davidson
Windows 10 64 bit/Windows7 64bit
Clarion 9.1.11529/Clarion10 12567
Nettalk 913
Nettalk 1015
StringTheory267/Winevent515/XFiles298/MessageBox239/Cryptonite186

alex.kolaric

  • Full Member
  • ***
  • Posts: 151
  • Do it or do not, there is no try
    • View Profile
    • Email
Re: NetTalk 5 - Problems with navigation buttons
« Reply #2 on: December 15, 2011, 10:28:14 AM »
Hi Terry,

It mostly happens on the columns from child files related through Table Schematic, however there is no rule cause on some of them it works fine. Example document table related to lines table, if sorting by doc no or date it works, if I sort by part number from the line table it doesn't work. But if I sort on condition field from the line also it works ... So I'm totally confused.

Thanks,
Alex

kevin plummer

  • Hero Member
  • *****
  • Posts: 1195
    • View Profile
    • Production Accounting and Software Payroll
Re: NetTalk 5 - Problems with navigation buttons
« Reply #3 on: December 15, 2011, 12:29:44 PM »
check your xml via firebug as it could be your data. I have had similar probs in past

alex.kolaric

  • Full Member
  • ***
  • Posts: 151
  • Do it or do not, there is no try
    • View Profile
    • Email
Re: NetTalk 5 - Problems with navigation buttons
« Reply #4 on: December 15, 2011, 02:35:35 PM »
Thanks Kevin,

I did it but I don't get any error or warning in the console and XML response looks ok. I don't see any weird thing about it.

Regards,
Alex

alex.kolaric

  • Full Member
  • ***
  • Posts: 151
  • Do it or do not, there is no try
    • View Profile
    • Email
Re: NetTalk 5 - Problems with navigation buttons
« Reply #5 on: December 16, 2011, 02:18:25 AM »
Hi,

still no progress with my problem. Any suggestion? Bruce help.

Thanks,
Alex

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11183
    • View Profile
Re: NetTalk 5 - Problems with navigation buttons
« Reply #6 on: December 16, 2011, 09:28:43 PM »
2 things spring to mind Alex,

a) try with the latest NT5 - or better yet NT6.
b) post an example of the effect. (include data etc so I can duplicate here.)

cheers
Bruce

alex.kolaric

  • Full Member
  • ***
  • Posts: 151
  • Do it or do not, there is no try
    • View Profile
    • Email
Re: NetTalk 5 - Problems with navigation buttons
« Reply #7 on: December 17, 2011, 11:18:10 AM »
Thanks Bruce,

I will try the latest NT5. Unfortunately we didn't buy NT6 yet cause we don't have time to convert and re-test all our work with it.

Regards,
Alex

alex.kolaric

  • Full Member
  • ***
  • Posts: 151
  • Do it or do not, there is no try
    • View Profile
    • Email
Re: NetTalk 5 - Problems with navigation buttons - SOLVED!!!
« Reply #8 on: December 19, 2011, 04:25:13 PM »
Hi Bruce,

I just want to let you know I solved the issue I was having. After few days of hitting the head against the wall though ;D

The reason why the buttons were not working was size of 2 template fields loc:LastValue and loc:Firstvalue of 1024 chars. Apparently it was not enough to save position information for my view. Changing of the size in template and in NetWeb.clw - SetView method solved the issue.

I hope this will be useful information

Regards,
Alex