Announcement

Collapse
No announcement yet.

if empty grid?

Collapse
X
  • Filter
  • Time
  • Show
Clear All
new posts

  • if empty grid?

    Hello I am new to this tool and I need to assess whether a grid is empty, to hide or display the "New" button.
    How do I access the properties of the grid ......

    thanks

  • #2
    To find out if the grid is empty you need to do a prefetch on the database in the onscriptinit. You can enable / disable the button by using macro's. However useually SC is handling the visibility of these buttons.
    Albert Drent
    aducom software netherlands
    scriptcase partner, reseller, support and (turn-key) development
    www.scriptcase.eu / www.scriptcase.nl

    Comment

    Working...
    X