NetTalk Central

Author Topic: Records in Browse(count?)  (Read 2913 times)

osquiabro

  • Hero Member
  • *****
  • Posts: 687
    • View Profile
    • Email
Records in Browse(count?)
« on: November 15, 2012, 10:00:01 AM »
how i can conditional the insert button , i need to disable this
button when records in a browse is >0. I try records(thisview)=0 but
always return 0..

thanks.

DonRidley

  • Don Ridley
  • Global Moderator
  • Hero Member
  • *****
  • Posts: 729
  • donaldridley2011@gmail.com
    • View Profile
    • Email
Re: Records in Browse(count?)
« Reply #1 on: November 15, 2012, 04:39:04 PM »
Try loc:found > 0 

Easy, peasy.

I do something similar to hide/unhide the insert, change, delete buttons.

Don
"Eliminate the impossible, whatever remains, however unlikely, must be the truth."

NetTalk 12.55
Clarion 11