Announcement

Collapse
No announcement yet.

in multiple record form app how can I count lines selected ??

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

  • in multiple record form app how can I count lines selected ??

    Hello,

    I would like to count how many lines ares selected by user in multiple record form app ??

    Thanks
    Nac

  • #2
    Nobody knows how to do that ??

    Thanks

    Comment


    • #3
      It depends WHEN you want to know it.
      Let's say you want to display a message how many records have been updated.

      onLoad:
      [counter] = 0;

      onAfterUpdate:
      [counter] ++;

      onAfterUpdateAll:
      $message = [counter]." Records have been updated!";
      echo "<script>alert('".$message."');</script>";

      Same goes for deleting records.

      If you want to know it BEFORE you do anything you have two choices.
      1. Dive into Javascript (quite complex in this case).
      2. Count the check marks you see on the screen. :-D

      jsb

      Comment


      • #4
        You're right, jsb, my users can count on the screen

        By the way, suppose 10 lines display on this mutiple row form app and you want that your user delete just and only 2 lines !!!

        Thanks

        Comment

        Working...
        X