While writing a flexitime system for employees, I god-knows-how-managed to get through a submit_clock_in page, but now am suffering existentially over submit_clock_out.
Basically, there are lots of IFS and ELSES.
Is the password right?
Are they clocking out early?
Have they given a reason for clocking out early?
Are they definitely clocked in?
All this is easy to ascertain with Ssql statements, but the page is making me blind and it's doing the wrong things.
Is there ANY way to NUMBER an if statement so you can definitely match it up with the right END IF?
IF not THEN (hmm) is there a recommended standard for organising it all. I do all that indenting code stuff, but it doesn't help me much.
Thanks
Sarah
Basically, there are lots of IFS and ELSES.
Is the password right?
Are they clocking out early?
Have they given a reason for clocking out early?
Are they definitely clocked in?
All this is easy to ascertain with Ssql statements, but the page is making me blind and it's doing the wrong things.
Is there ANY way to NUMBER an if statement so you can definitely match it up with the right END IF?
IF not THEN (hmm) is there a recommended standard for organising it all. I do all that indenting code stuff, but it doesn't help me much.
Thanks
Sarah
![User_timtom.jpg](http://www.projecttimtom.com/eric/User_timtom.jpg)
WASN'T FIT ENOUGH FOR THE POLICE FORCE