RSpisketts Posted August 26, 2004 Share Posted August 26, 2004 Hi, Is there any way to use a "Loop" construct to loop through all repeating field indices and (for instance) set them to "". I am currently doing the following: Clear( Select; Table::RepeatingField ) Clear( Select; Table::RepeatingField[2] ) ... It will be a pain if the repeating field has 100 items in it ! Thanks. Link to comment Share on other sites More sharing options...
-Queue- Posted August 26, 2004 Share Posted August 26, 2004 Put the field on its own layout, displaying all repetitions. Tab through them to make sure they're all in order. Create a script to Go to Layout [this new one] Commit Records/Requests [No dialog] Loop Go to Next Field Set Field [ ; ""] <- don't specify the field, just the null result Exit Loop If [Get(ActiveRepetitionNumber) = 100] End Loop Substitute 100 with your number of repetitions. Link to comment Share on other sites More sharing options...
RSpisketts Posted August 27, 2004 Author Share Posted August 27, 2004 That is exactly what I was after - thankyou Link to comment Share on other sites More sharing options...
RSpisketts Posted August 27, 2004 Author Share Posted August 27, 2004 Just out of interest, do I remain a "stranger" in these forums or does that change after I post a decent question ? Link to comment Share on other sites More sharing options...
Lee Smith Posted August 27, 2004 Share Posted August 27, 2004 Just out of interest, do I remain a "stranger" in these forums or does that change after I post a decent question ? Here is a recent post that asked the very same question Click Here . Lee Link to comment Share on other sites More sharing options...
RSpisketts Posted September 6, 2004 Author Share Posted September 6, 2004 Thanks. Hopefully, I will soon become a "World Leader" rather than "stranger. Link to comment Share on other sites More sharing options...
Recommended Posts
This topic is 7194 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now