Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

If and Else If

Status
Not open for further replies.

Blobishthing

Programmer
Feb 16, 2002
23
0
0
AU
when i did

If (conitions) then ...
Else (conditions) then...

the VB gives me a message saying that there cant be an else statement without theIf block

What is wrong?

Thanx in advance.
 


if (conditions) then
...
elseif (conditions) then
...
else
...
endif


Tane **** Keep it simple ***
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top