"if ...is nothing"

24/10/2003 - 18:42 por Hernán Castelo | Informe spam
otra preguntita
un campo de mi recordSet
puede tener valores NULL
pero al preguntar por
IF rs("abierto") IS NOTHING
no funciona

está bien hecha la pregunta?
cómo debe hacerse?

atte,
Hernán Castelo
UTN - Buenos Aires
. . . . . . . . . . . . . . . . . . . . . . . . . .
. . . .
 

Leer las respuestas

#1 Diego Uribe
24/10/2003 - 18:41 | Informe spam
No esta bien, lo que te recomiendo es

function verifica(dato)
if isnull(dato) then
verifica = ""
Elseif isempty(dato) then
verifica=""
End if
End function

prueba = verifica(rs("xxxx"))

Saludos

Diego



"Hernán Castelo" escribió en el mensaje
news:%
otra preguntita
un campo de mi recordSet
puede tener valores NULL
pero al preguntar por
IF rs("abierto") IS NOTHING
no funciona

está bien hecha la pregunta?
cómo debe hacerse?

atte,
Hernán Castelo
UTN - Buenos Aires
. . . . . . . . . . . . . . . . . . . . . . . . .


.
. . . .


Preguntas similares