NetTalk Central

Author Topic: problem with browses  (Read 3177 times)

cwtart

  • Full Member
  • ***
  • Posts: 130
    • View Profile
    • CommPay Software
    • Email
problem with browses
« on: November 11, 2016, 02:31:54 PM »
This has been a problem for me forever - I have many browses on forms, very normal.

Out of the blue, a browse will no longer scroll down via the next and last button. When the browse first displays, the first and previous buttons are disabled, as expected, and the next and last buttons are enabled. But the next and last button do not do anything - cannot get to the next page on the browse or the end of the browse.

This has happened to me on totally unrelated browses - they are all on forms but that may be a coincidance.

The only way to fix this is to either recreate the browse procedure from scratch or to copy the browse and use a new procedure name for the copy. The copy will then work fine - but then a month or a year later, the same problem returns - I cannot see what I may be doing to cause this - really no rhyme or reason.

An example is not possible - just looking for a possible cause - it may be a bug in the NetTalk templates but there is no way I could recreate the problem on demand.

Chuck

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: problem with browses
« Reply #1 on: November 13, 2016, 10:06:29 PM »
>> The only way to fix this is to either recreate the browse procedure from scratch or to copy the browse and use a new procedure name for the copy. The copy will then work fine - but then a month or a year later, the same problem returns - I cannot see what I may be doing to cause this - really no rhyme or reason.

In any case where you have a "have to rebuild procedure from scratch to fix problem" it's useful to save the generated CLW before the re-creation, and again after the recreation. Obviously the source code is different, and from that one can usually determine what setting is different.

In this case I suspect the data, not the procedure itself. Recreating it is likely just changing the default sort order or something.

If you click on a button, and it does nothing, then check the FireBug console to see if there is an error in the returned xHtml.
Typically it's the data that's the root of the problem, not the procedure.

cheers
Bruce