472,124 Members | 1,436 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,124 software developers and data experts.

Waiting Form

working on some pageant scoring program and ran into big problem.
there are three events in the pageant and after the second, the top3 contestants (finalists) are chosen. the thing is i need all the scores from all 3 judges before i can determine the finalists. so far, only the 3rd (last) judge to enter his scores can view the top3 contestants. i know i'ld use a waiting form to stall the first two until the last judge is done, but have know idea how to do that. help, anyone! im using microsoft access to store the information and oleDB
Mar 26 '07 #1
2 1062
jhardman
3,406 Expert 2GB
You could store the number of answered scores in an application-level variable:
Expand|Select|Wrap|Line Numbers
  1. if request("score") <> "" then
  2.    application("scoresDone") = application("scoresDone") + 1
  3. end if
  4.  
  5. if application("scoresDone") < 3 then %>
  6.    <!-- make page refresh using HTML or javascript code according to your preference -->
  7. <%
  8. else
  9.    response.redirect "finalResults.asp"
  10. end if
  11. %>
Let me know if this helps.

Jared
Mar 27 '07 #2
thanks so much for the help, but my schools webmaster helped me out by using Page.ClientScript.IsClientScriptBlockRegistered("R efreshParent"). not exactly sure how it works but it does. sorry for the bother
Apr 2 '07 #3

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

1 post views Thread by John | last post: by
12 posts views Thread by Raymond Lewallen | last post: by
6 posts views Thread by Hugh Janus | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.