
March 10th, 2004, 03:19 PM
|
|
Registered User
|
|
Join Date: Feb 2004
Posts: 2
Time spent in forums: < 1 sec
Reputation Power: 0
|
|
|
For loop ideas?
Delphi 5, ADO, Sybase ASA
I have a for loop that is nested in another for loop. Inside of this nested loop are a series of if statements that check whether one of four checkboxes is checked. If any of the four boxes are checked, a command is sent to the database to grant a group certain rights that correspond to the checkboxes. The groupnames are pulled from a TStringList one by one with the use of the inner for loop control variable.
What I need is a way to pause this inner loop so a user can select the checkboxes then push a button of some sort so the loop can continue to cycle with the next group.
I just can't figure out the best way to do this... Any suggestions will be appreciated.
|