thanks for the advice. and sorry my work through me into this big project that no one else here knows how to do, and told me to learn java and take thier old true basic code and translate it. since the program is the heart of the company i cant really release but info about it (meaning formulas and some functions) but its a program to output data based on 9 inputs to send to a mazak to cut a timing screw for bottle packaging lines. im just trying to figure out some simple functions in order to finish this. thanks for all the help everyone has been giving me. im really making progress due to you guys. much appreciated!