Re: How to check an empty recordset?
From: Al Reid (areidjr_at_reidDASHhome.com)
Date: 10/29/04
- Next message: Al Reid: "Re: add parameters to adodb.recordset object"
- Previous message: Al Reid: "Re: executing packages of Oracle in VB 6.0"
- In reply to: Sebastian Hort: "How to check an empty recordset?"
- Next in thread: Sebastian Hort: "Re: How to check an empty recordset?"
- Reply: Sebastian Hort: "Re: How to check an empty recordset?"
- Messages sorted by: [ date ] [ thread ]
Date: Fri, 29 Oct 2004 07:31:57 -0400
"Sebastian Hort" <Sebastian.Hort@de.bosch.com> wrote in message news:clt9h4$2f1$1@ns2.fe.internet.bosch.com...
> If the database returns an NULLvalue, how can i check this?
>
> I tried to check at objfield="" or NULL but it doesn`t work.
>
> Any hints? thx
>
>
Try the IsNull() Function.
If you know the field is a string type, you can simply append an empty string to the field value => rs(0).Value & ""
-- Al Reid How will I know when I get there... If I don't know where I'm going?
- Next message: Al Reid: "Re: add parameters to adodb.recordset object"
- Previous message: Al Reid: "Re: executing packages of Oracle in VB 6.0"
- In reply to: Sebastian Hort: "How to check an empty recordset?"
- Next in thread: Sebastian Hort: "Re: How to check an empty recordset?"
- Reply: Sebastian Hort: "Re: How to check an empty recordset?"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|