NetTalk Central

Author Topic: Filtered browse does not refresh after change (bug?)  (Read 5559 times)

peterH

  • Sr. Member
  • ****
  • Posts: 413
    • View Profile
Filtered browse does not refresh after change (bug?)
« on: August 27, 2012, 05:46:19 AM »
A browse is being filtered by a status code based on the value selected from a drop list (a local variable) and the filter does work! The browse is embedded on a memory form.

If I change the value of the status code (using a normal netwebform) the browse is empty upon return from the form. I can then select a different status and the browse updates ok.

For fun I changed the form to open in popup mode and alas - the browse refreshes automatically.

Looks like a bug in 6.40

Peter

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Filtered browse does not refresh after change (bug?)
« Reply #1 on: August 27, 2012, 06:29:07 AM »
could you post an example please Peter?
I think it's something simple, but an example would help identify the root cause.

cheers
Bruce

peterH

  • Sr. Member
  • ****
  • Posts: 413
    • View Profile
Re: Filtered browse does not refresh after change (bug?)
« Reply #2 on: October 19, 2012, 06:43:59 AM »
Still fighting this one  >:(

The Drop Filter example (33) works and so does my own little test program - if I use TPS files!
But even if I wiz up a brand new app using MSSQL I'm having the problem: the browse does not refresh upon return from the update form.

I don't know what to do! I've told my customers to press F5 in order to refresh the browse but that's not very proffessional.

Am I really the only one experiencing this?

Peter
6.46 and 6.3

useless

  • Jr. Member
  • **
  • Posts: 84
    • View Profile
    • Email
Re: Filtered browse does not refresh after change (bug?)
« Reply #3 on: October 19, 2012, 06:59:05 AM »
If you can trap an event of sorts upon the return, could you bolt in some Javascript calls to do the refresh for you?
http://www.quackit.com/javascript/javascript_refresh_page.cfm

peterH

  • Sr. Member
  • ****
  • Posts: 413
    • View Profile
Re: Filtered browse does not refresh after change (bug?)
« Reply #4 on: October 19, 2012, 07:05:45 AM »
Yes, maybe. But it used to work. Until some NT update (around 6.40).

But thanks anyway.
Peter

Vinnie

  • Full Member
  • ***
  • Posts: 183
    • View Profile
    • Email
Re: Filtered browse does not refresh after change (bug?)
« Reply #5 on: October 19, 2012, 07:35:40 AM »
Hi Peter

I think this is the same problem I have. Since version NT6.34 browse does not refresh correctly. I managed to get round this by changing then browse loading method to FILE from PAGE.

I also have the problem when load method is PAGE when the browse refreshes even when pressing F5 key the Record Pointer does not go to the FIRST record.

Don't think this is any help

Cheers

Vinnie

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11250
    • View Profile
Re: Filtered browse does not refresh after change (bug?)
« Reply #6 on: October 19, 2012, 07:50:28 AM »
is the site online where I can see it Peter? Or better yet can you send me the app & dict so I can duplicate here.
(hint - include instructions so I know what to look for.) - I suspect it is a little thing, but it's hard to be specific out of context. And context can matter a lot.

Vinnie - if you have an example of any effect like this I'd love to see it.

cheers
Bruce

peterH

  • Sr. Member
  • ****
  • Posts: 413
    • View Profile
Re: Filtered browse does not refresh after change (bug?)
« Reply #7 on: October 19, 2012, 08:32:56 AM »
Hi Bruce,

Just sent you login info by private mail.

Peter

peterH

  • Sr. Member
  • ****
  • Posts: 413
    • View Profile
Re: Filtered browse does not refresh after change (bug?)
« Reply #8 on: October 26, 2012, 07:16:38 AM »
Hi Bruce,

I've sent you an example app+dct by private mail.

The problem exposes itself when using MSSQL but NOT when using tps, so there must be some kind of different handling involved somewhere.

Peter