hm.... im not a VB buff yet... starting that next year...
but if it were similar to php then you should put it in some kind of thing like the switch command... here is an example
in PHP, $x signifies "variable x"
echo = print, printf, cout, etc (print on screen)
Code:
$destination = "Tokyo";
echo "Traveling to $destination
"; //"traveling to tokyo"
switch ($destination){
case "Las Vegas": //if it is $destination = las vegas
echo "Bring an extra $500"; //bring extra money
break; //end case 1
case "Amsterdam": // etc
echo "Bring an open mind";
break;
case "Egypt":
echo "Bring 15 bottles of SPF 50 Sunscreen";
break;
case "Tokyo":
echo "Bring lots of money";
break;
case "Caribbean Islands":
echo "Bring a swimsuit";
break;
}
or, if you could say in VB something like
Code:
if 0 < [Total_Mark] < 40 #if Total_Mark = 0-40...
result = "U" #result = U
and just skip out on the Else's
however, again, i dont know VB really... i've only played with it and made stupid windows and stuff