john doe the 3rd
New Member
- Joined
- Mar 13, 2004
- Messages
- 47
hi guys im having some trouble with a form and need some vb to carry out this specific function.
i have a text box, that is blank
i have another text box which has some code behind it which works out some units for me, but im having some trouble getting this information, manipulating it and placing it into the blank text box. example:
text box 1 has some information - the number of "credits" achieved by astudent over a term.
text box 2 is blank .
i would like text box 2 to divide the value of text box 1 by 10 and place the answer in itself , so now text box 2 has the answer to textbox1 / 10
but.. i ONLY want textbox 2 to divide the value of textbox 1 by 10 when the value of textbox 1 is a multiple of 360. so thats 360, 720, 1080 etc.
thanks.
i have a text box, that is blank
i have another text box which has some code behind it which works out some units for me, but im having some trouble getting this information, manipulating it and placing it into the blank text box. example:
text box 1 has some information - the number of "credits" achieved by astudent over a term.
text box 2 is blank .
i would like text box 2 to divide the value of text box 1 by 10 and place the answer in itself , so now text box 2 has the answer to textbox1 / 10
but.. i ONLY want textbox 2 to divide the value of textbox 1 by 10 when the value of textbox 1 is a multiple of 360. so thats 360, 720, 1080 etc.
thanks.