Jump to content
Fórum Script Brasil
  • 0

[resolvido] Is Null


HugoRibas
 Share

Question

Bom dia a todos!!!!!!

Seguinte ao processar este if:

<%if rs6("HoraSaida") Is Null then%>
  <td align="right" valign="Center" bgcolor="<%=var_bgcolor%>"><b>-</b>&nbsp;</td>
<%else%>
 <td align="right" valign="Center" bgcolor="<%=var_bgcolor%>"><b><%=FormatDateTime(rs6("HoraSaida"),4)%></b>&nbsp;</td>
<%end if%>

A página apresenta o seguinte erro: Objeto necessário - line 1008

A line 1008 corresponde a primeira linha: if rs.... then

Neste caso o campo rs6("HoraSaida") no banco de dados é NULO. Alguém saberia me dizer o que pode ser o erro?

DESDE JÁ AGRADEÇO A ATENÇÃO DE TODOS.

Abraços.

Link to comment
Share on other sites

4 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



  • Forum Statistics

    • Total Topics
      150.1k
    • Total Posts
      647.1k
×
×
  • Create New...