"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
. . . . . . . . . . . . . . . . . . . . . . . . . .
. . . .

Preguntas similare

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
. . . . . . . . . . . . . . . . . . . . . . . . .


.
. . . .


Respuesta Responder a este mensaje
#2 Hernán Castelo
24/10/2003 - 19:39 | Informe spam
así sí, gracias

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

"Diego Uribe" escribió en el mensaje
news:

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
> . . . . . . . . . . . . . . . . . . . . . . . .


.
.
> . . . .
>
>


email Siga el debate Respuesta Responder a este mensaje
Ads by Google
Help Hacer una preguntaRespuesta Tengo una respuesta
Search Busqueda sugerida