Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Progress Bar Indicator

Status
Not open for further replies.

djs45uk

Technical User
Nov 7, 2004
103
GB
Hello

I am using a form with a subform. The subform lists a collection of jobs, each with an estimated duration and an actual duration. I'm using the progress bar to give a graphic indication of progress by doing:

I have an afterUpdate event which will run the following code to update the progress bar:

Code:
progress.Value = (CDbl(subtaskDuration) / CDbl(subtaskEstimatedDuration)) * 100

Problem is, it updates the progress bar on all the records, not just the current record. So all the progress bars look the same like this:


Any help would be much appreciated

Daniel
 
This is standard behaviour as in the detail section of a continuous form each unbound control has a single instance standing for all the records.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ181-2886
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top