I am attempting to write a loop or some other form of code which will allow me to perform multiple calculations based on basic entires along with a range variable. An example would be the following. <br>The user would have the following screen:<br>SPEED FROM SKID MARKS<br>Enter Distance vehicle Skidded: 75<br>Enter Road Surface Friction: From:.75 to:.85<br>Enter Increment for road surface Friction:.01<br>The Calculation in current use is the following. <br>d = Text1.text (Represents Distance)<br>f = Text2.text (Represents first Friction)<br>f1 = Text3.text (Represents Second Friction)<br>I have nothing for the increment section<br>Label7.Caption = Format(Sqr(30*d*f),"##0.00"
&"Mph"<br>Label16.Caption=Format(Sqr(30*d*f1),"##0.00)&"Mph"<br><br>Thus the results are displaded in the various labels assigned above. What I want to do is have the program start with the from :.75 and then based on the increments assigned by the user work from the .75 to .85 and provide the results to the screen. Can this be done? How do I display the results to the user on a particular space on the form once variables are assigned. I am using Visual Basic 6 Pro to write this program. <br>What I am hoping for is that the results will be displayed something simular to the following. <br><br>.75 = 25.2 Mph<br>.76 = 25.8 Mph<br>.77 = 26.3 Mph<br>etc. This assumes a variable of .01 was entered. The results above are not assumed to be correct and only listed as an example. <br>Any assistance would be greatly appreciated. I am very new at writing this code so if you can be as explicite as possible, I would appreciate it. Thank you in advance for your assistance.<br> <p> <br><a href=mailto:accrec@intergrafix.net>accrec@intergrafix.net</a><br><a href= > </a><br>