convertir a 0 un valor nulo
Quisiera saber si alguien me puede ayudar. Necesito convertir, en una consulta SQL un valor nulo de una tabla a 0. En access ulilizo la funcion nz, pero Visual no la reconoce, hay acaso alguna funcion similar?
Desde ya muchas gracias.
Desde ya muchas gracias.
Puedes crearte una función del estilo
Public function NoNulo(variable) as Integer
if variable = empty then
NoNulo = 0
else
NoNulo = variable
end if
end function
Public function NoNulo(variable) as Integer
if variable = empty then
NoNulo = 0
else
NoNulo = variable
end if
end function
