Hi Board,
Quick question on looping.
I have a tabular form where the user can select multiple records by clicking a check box.
The user selects records that he wants to process. Once done selecting he presses a button to start a process. The process only affects the records that are checked.
The number of records retrieved in the initial query could be anywhere between 50 and 1000+ records.
Should I store the record numbers in a record group or pl/sql table as the user selects them OR should I just loop through the block?
I would think using the pl/sql table would be easier to program but are there advantages to using a record group?
If I do store the record numbers, is there a point where it is better to loop through the block. For example, if there are 1000 records and user selects all but one, is it better to store all 999 records in a record group or to have logic to determine that more than x% of the records are to be processed so loop through the block?
Thanks for any help.
Quick question on looping.
I have a tabular form where the user can select multiple records by clicking a check box.
The user selects records that he wants to process. Once done selecting he presses a button to start a process. The process only affects the records that are checked.
The number of records retrieved in the initial query could be anywhere between 50 and 1000+ records.
Should I store the record numbers in a record group or pl/sql table as the user selects them OR should I just loop through the block?
I would think using the pl/sql table would be easier to program but are there advantages to using a record group?
If I do store the record numbers, is there a point where it is better to loop through the block. For example, if there are 1000 records and user selects all but one, is it better to store all 999 records in a record group or to have logic to determine that more than x% of the records are to be processed so loop through the block?
Thanks for any help.