How can i open another form using two numbers 18.5 to 24.4. If the answer whas in the middle how can it open another form? | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
0

How can i open another form using two numbers 18.5 to 24.4. If the answer whas in the middle how can it open another form?

visual basic

1st Feb 2017, 11:57 PM
John A
John A - avatar
5 Answers
+ 2
so confuse
2nd Feb 2017, 12:15 AM
jay
jay - avatar
+ 2
Are you using access or something? here is one possible solution (for access) An if statement would be the easiest way. eg. if (Equation > 18.5) And (equation < 24.5) then docmd.openform("form name") end if
2nd Feb 2017, 12:28 AM
jay
jay - avatar
+ 2
cool! here is what you need to read to understand forms in vb.net http://www.dummies.com/programming/net/opening-closing-and-hiding-forms-with-visual-basic-net/ basic answer is still the same. check equation results with an if statement then open the form using the methods outlined in the above article
2nd Feb 2017, 12:37 AM
jay
jay - avatar
0
i have a ecuation if the result has to be 18.5 to 24.5 to open another form, how i can do that in visual basic?
2nd Feb 2017, 12:18 AM
John A
John A - avatar
0
im new using visual basic
2nd Feb 2017, 12:33 AM
John A
John A - avatar