473,372 Members | 1,615 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,372 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 1127
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

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

Similar topics

1
by: John | last post by:
Try to implement an waiting form, which has a label and a textbox, as below: FormWait fm = new FormWait(); fm.Show(); for (long i = 0; i < 20000000; i++) { // some lengthy operations }...
3
by: Elhurzen | last post by:
X-No-Archive: Yes >From what I understand, if multiple threads are waiting on a ManualResetEvent after calling WaitOne(), only one thread is guaranteed to be signaled when Set() is called on that...
0
by: nick | last post by:
I have a form which works fine when the post back can be done quickly. Sometime it takes a long time waiting for post back because of slow stored procedures. Then the controls in the form lose...
5
by: Anonieko | last post by:
Scenario: This is a reporting scenario where it takes a while to get back a response ( report page ) after submit. I want my user to see some kind of temporary message like 'Processing...' ...
1
by: ad | last post by:
I have a time-consuming job in button's click event; I wnat to show a "Please waiting.. " message on the form. I put a Label (named labResult ) on the form , and write the codes below, but the...
12
by: Raymond Lewallen | last post by:
How to wait for a process to stop completion is my goal. Obviously, the looping while waiting for the HasExited property is not a solution.. but thats the best I can come up off the top of my...
9
by: yxq | last post by:
Hello, Me.Cursor = Cursors.WaitCursor It will make mouse pointer to become waiting status for my form only, how to become waiting status for whole desktop? Thank you
6
by: Hugh Janus | last post by:
Hi group, I am executing a shell command that calls a .BAT file. I have to wait for this batch file to finish so I use the wait = true parameter in the shell command. However, this means that...
2
by: Bob | last post by:
I launch Word from within my application (Vs2005, VB) and I would like to make it necessary for the just opened Word to be closed before the rest of my code in the calling sub can execute. How can...
4
by: Jono | last post by:
Hi Everyone, As it says in the title, I'm looking for a way to display a page while long running operations are performed on the server. Ideally, I'd like some way to push the current request...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 3 Apr 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome former...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

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.