NetTalk Central

Author Topic: Detect empty browse  (Read 2807 times)

Koen Tjoa

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
    • Email
Detect empty browse
« on: December 05, 2011, 01:20:01 AM »
I have a BrowseControl and a few buttons in a NetWebForm. Sometimes this browse is empty, which is shown with the message string. The navigation buttons of the browse are hidden. But I also would like to hide or disable some of my own buttons in this situation.

Is there some property or SessionValue set when there are no records to be displayed what I can use in the NetWebForm to detect the browse is empty? I looked for it, but maybe I am missing it.

Cheers,
Koen

charl99

  • Full Member
  • ***
  • Posts: 185
    • View Profile
    • Email
Re: Detect empty browse
« Reply #1 on: December 05, 2011, 02:12:12 AM »
Hi Koen,

Go to the Embedded Source of the Browse procedure and look for "BeforeEmptyMessage".

Cheers
Charl

Koen Tjoa

  • Jr. Member
  • **
  • Posts: 68
    • View Profile
    • Email
Re: Detect empty browse
« Reply #2 on: December 05, 2011, 04:18:59 PM »

Hi Charl,

Thanks. I solved it with setting a ValueParameter there and reading it out again in my NetWebForm on return.

Cheers
Koen