<%sql="Select count(*) as total from ciec_vista_catalogo where nom_produc is not null and activo<>0"
registros.open sql,conexion,1
total_var=0
total_var=cint(registros("total"))
registros.Close
if request("opcion")="" then%>
<%end if
if request("opcion")="listar" then
if request("ver")<>"" then
if request("ver")=4 then
sql="Select count(*) as total from ciec_vista_catalogo where nom_produc is not null and afiliado=1 and activo<>0"
registros2.open sql,conexion,1
total2_var=0
total2_var=cint(registros2("total"))
registros2.Close
sql="select * from ciec_vista_catalogo where nom_produc is not null and afiliado=1 and activo<>0 order by nom_produc"
registros.Open sql,conexion,1
else
sql="Select count(*) as total from ciec_vista_catalogo where nom_produc is not null and area='"&request("ver")&"' and activo<>0"
registros2.open sql,conexion,1
total2_var=0
total2_var=cint(registros2("total"))
registros2.Close
sql="select * from ciec_vista_catalogo where nom_produc is not null and area='"&request("ver")&"' and activo<>0 order by nom_produc"
registros.Open sql,conexion,1
end if
else
sql="Select count(*) as total from ciec_vista_catalogo where nom_produc is not null and activo<>0"
registros2.open sql,conexion,1
total2_var=0
total2_var=cint(registros2("total"))
registros2.Close
sql="select * from ciec_vista_catalogo where nom_produc is not null and activo<>0 order by nom_produc"
registros.Open sql,conexion,1
end if
if not registros.eof and not registros.bof then%>
|
Actualmente hay
<%=total_var%> empresas en el
Catálogo de la CIEC
|
<%if request("ver")<>"" then%>
|
|
|
Hay
<%=total2_var%> empresas
<%Select case request("ver")
case 1 response.write " de Repuestos y Suministros"
case 2 response.write " de Servicios"
case 3 response.write " de Materia Prima"
case 4 response.write " Afiliadas a la CIEC"
end select%>
|
<%end if%>
|
<%do while registros.eof=false %>
<%registros.movenext()
loop%>
|
|
<%else%>
|
No hay empresas en esta área económica |
<%end if
end if%>
|
» Vea a la Ing. Mildred Sequera de
Grumaeca hablar del Catalogo
|