ON 20070420@8:09:57 PM at page: http://www.piclist.com/language/asp/vbs/vbscript/95.htm#39191.7194675926 James Newton[JMN-EFP-786] removed post 39191.7194675926 |Delete 'dposs@dposs.com refers to
http://www.vspa.com/aspprotect/guardmount-vspa-ab-bh-2-999.asp?SORTBY=Last_Name+ASC&MyPageSize=2000&Keyword= Here are a few that I have tried: <% If InStr(Session("Groups"),"*3*") Then %> <% If InStr(Session("Groups"),"*3*") = 0 Then %> <% If InStr(Session("Groups") = "*3*") Then %> <% If CmdListUsers("Groups") = "*3*" THEN %> <% If CmdListUsers("Groups") = "3" THEN %> <% If Not(InStr(Session("Groups"),"*3*")) Then %> Thank you for any advice, Don Poss
' ON 20070420@8:10:19 PM at page: http://www.piclist.com/language/asp/vbs/vbscript/95.htm#39191.7169560185 James Newton[JMN-EFP-786] removed post 39191.7169560185 |Delete 'dposs@dposs.com asks:
http://www.vspa.com/aspprotect/guardmount-vspa-ab-bh-2-999.asp?SORTBY=Last_Name+ASC&MyPageSize=2000&Keyword= I have a military veterans' website that wants to list all the members stationed at a military base, and do so for every base they were at. I use "Groups" numbers to ID each base. I am fairly new to ASP. I am using a password program called ASPProtect, version 7, that has a field called Groups. Groups can contain unlimited numbers of Groups, such as *3* or additional Groups, such as *3*,*8*,*65*,*1000*. These Group numbers allow a "member" to be associated with various Groups. I need to know how to find out if a member has Group *3* in his record. I have tried several attempts to select, but my understanding of how to do so is lacking. What I need to do is identify records with "3" and Then print a list of all the records with "3" if it is true. Here are a few that I have tried: <% If InStr(Session("Groups"),"*3*") Then %> <% If InStr(Session("Groups"),"*3*") = 0 Then %> <% If InStr(Session("Groups") = "*3*") Then %> <% If CmdListUsers("Groups") = "*3*" THEN %> <% If CmdListUsers("Groups") = "3" THEN %> <% If Not(InStr(Session("Groups"),"*3*")) Then %> To see the webpage, Login: UserID: temp Password: temp http://www.vspa.com/aspprotect/guardmount-vspa-ab-bh-2-999.asp?SORTBY=Last_Name+ASC&MyPageSize=2000&Keyword= Don Poss
'