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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

syntax error

Status
Not open for further replies.

ram567

Programmer
Dec 28, 2007
123
US
Hi!
what is the syntax error the below
if account_id <> "xxxx" and <> "yyyyy" <> "zzzzz" then
msg box
 
If account_id <> "xxxx" And account_id <> "yyyyy" And account_id <> "zzzzz" Then
 



or...
Code:
select case account_id
   case "xxxx", "yyyyy", "zzzzz" 
   case else
      'msgbox  
end select


Skip,

[glasses]Did you hear what happened when the OO programmer lost his library?...
He's now living in OBJECT poverty![tongue]
 
thank you skip, it is valued information for me it helps lot.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top