
23/05/2002, 09:31
|
| | Fecha de Ingreso: mayo-2002
Mensajes: 48
Antigüedad: 22 años, 8 meses Puntos: 0 | |
voloresnulos en un campo Hola a todos
Por favor alguien podria ayudarme con este codigo. tengo este query
NSQLP ="SELECT CUNDMED FROM TARIFARIO WHERE CCODSGR=" & SubGr
Set RsUnidad= Cn.Execute(NSQLP)
ese campo me arroja valores nulos sin datos de la base de datos, y quiero que lea si encuentra valores nulos realize el siguiente query TSQLP despues del else. Que estoy haciendo mal alguien puede ayudarme
if not IsNull(RsUnidad("CUNDMED"))then
'aqui si esta entrando
Tarifariox=RsUnidad("CUNDMED") Response.Write Tarifariox & "<br>" & SubGr
else
' aqui no entra
TSQLP ="SELECT CUNDMED FROM TARIFARIO"
Set RsTarifa= Cn.Execute(TSQLP)
end if |