Home » Developer & Programmer » Forms » No. Of Checkbox clicked at a time
No. Of Checkbox clicked at a time [message #480870] Thu, 28 October 2010 00:02 Go to next message
swapnil_naik
Messages: 269
Registered: December 2009
Location: Mumbai
Senior Member

I have a data block which contain no. of records displayed e.g 10 record...
In That data block i used checkbox

My Requirement is when i click Select all checkbox , No. of checkbox record shown click mark..

how to do that.
Re: No. Of Checkbox clicked at a time [message #480876 is a reply to message #480870] Thu, 28 October 2010 00:36 Go to previous messageGo to next message
Littlefoot
Messages: 21818
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
In a loop.
Re: No. Of Checkbox clicked at a time [message #480891 is a reply to message #480876] Thu, 28 October 2010 01:32 Go to previous messageGo to next message
swapnil_naik
Messages: 269
Registered: December 2009
Location: Mumbai
Senior Member

Hi,

But how to find no. of record filled...

By using First_reord , cursor goes to first reord in data block
and last_reord , help me cursor moves to last cursor..

But How to find out how many record exactly filled by data
Re: No. Of Checkbox clicked at a time [message #480900 is a reply to message #480891] Thu, 28 October 2010 01:58 Go to previous message
Littlefoot
Messages: 21818
Registered: June 2005
Location: Croatia, Europe
Senior Member
Account Moderator
NEXT_RECORD goes to the next record.

When you reach the last record (i.e. the one filled with data), there are no other records (check this with :SYSTEM.LAST_RECORD system variable). It means that it doesn't matter that block displays 10 (empty) records and you fill, for example, 4 of them. You can't go to 8th or 10th record unless there's data in there.

Check other :SYSTEM variables (if you didn't use them yet, you might find them useful).
Previous Topic: verify password
Next Topic: dynamic form according to rows in another table
Goto Forum:
  


Current Time: Fri Sep 20 05:01:32 CDT 2024