NetTalk Central

Author Topic: Browse does not reset when zero records in the View  (Read 2880 times)

RichBowman

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • Email
Browse does not reset when zero records in the View
« on: December 28, 2011, 03:03:46 PM »
I have a form with 2 dropdowns and 2 browses. Dropdown 1 resets Dropdown 2 and Dropdown 2 resets Browse A. In the CallClick Routine in Browse A I construct the filter for Browse B. (They do not have a parent / child relationship.)

If the filter constructed when a row is clicked in Browse A finds records in Browse B, all is well.

If the filter constructed when a row is clicked in Browse A does NOT find any records in Browse B, the browse does not reset to blank (or a message), instead the records from the previous selection remain on the page.

How can I force a reset of Browse B when there are zero records in the View?

Many thanks,

RichBowman

  • Jr. Member
  • **
  • Posts: 76
    • View Profile
    • Email
Re: Browse does not reset when zero records in the View
« Reply #1 on: December 28, 2011, 03:11:34 PM »
I fixed my own problem.

I must have had a "senior moment'! I forgot to put a message in to display when the Browse is empty.