NetTalk Central

Author Topic: Hide browse header if browse hidden?  (Read 2638 times)

JohanR

  • Sr. Member
  • ****
  • Posts: 366
    • View Profile
    • Email
Hide browse header if browse hidden?
« on: August 26, 2014, 11:07:54 PM »

Hi,

I have a browse that's hidden if no records found, is there a way to hide the sub-header along with the browse?
The browse is on a memory form, so am trying to avoid anything showing up from the browse procedure if no records found.

Alternative would be to create a function to count the records and use that on the form whether to hide the browse or not.


thanks

Johan

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11244
    • View Profile
Re: Hide browse header if browse hidden?
« Reply #1 on: September 01, 2014, 09:58:41 PM »
you could wrap the sub-header code in a condition.
It's inside the
Heading
routine in the browse.

cheers
Bruce