superpickle Posted April 24, 2003 Posted April 24, 2003 I am writing a script to populate dates and time of day. They need to be filled in to serve as a basis for the rest of the layout (to duplicate the form the customer already uses). 4/21/2003 7:00-7:30 4/21/2003 7:30-8:00 """"""""" """"""""" 4/21/2003 3:00-3:30 4/22/2003 7:00-7:30 I wrote the inner time loop and tested it. It works well and breaks as it should. I added the outer date advance loop and it refuses to work. The global counter I used for the date break point advances once and the time loop never stops. The result is I have to break into the script and I have the correct dates and times for the first date and several hundred records with the second date and all the times repeating over and over and over... Are nested loops taboo? I know the coding is OK from running it in a C program. Any help will be greatly appreciated.
superpickle Posted April 24, 2003 Author Posted April 24, 2003 Well, I posted before I gave up. Sorry. I put the inner loop in a sub-script and it works fine.
Recommended Posts
This topic is 7887 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