🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: be.comp.programming
Article #16550

Re: Databases en ASP

#16550
From: Frans Bouma
Date: Sat, 29 Apr 2000 00:00
24 lines
2028 bytes
"Hace" <geen@geen-spam.net> wrote in message news:390cf1c0.3237364@news.multiweb.nl...
> Frans Bouma schreef:
> 
> >    if (rsTransactions.EOF or rsTransactions.BOF) then
> >        ' no records found
> 
> Eh, moet die or niet een and zijn? Of hangt dat ook af van de manier
> van openen? (static, optimistic enz???)

    uit de MSDN docs voor BOF/EOF properties:
    If either the BOF or EOF property is True, there is no current record.

    Wat inhoudt dat er geen record is. Immers, ALS er een record in een
    recordset zit en je opent die, dan wordt dat record automatisch
    het current record. Bij meerdere records wordt het eerste record
    wat de query oplevert het current record.
    
    Meestal zijn beide true als er geen record inzit dus een AND gaat
    soms goed, maar een OR is beter. (testen op alleen EOF is niet
    voldoende. Sommige providers zetten BOF)

    :)

        FB
Technical Details
Message-ID: <8eecbd$s6k$1@news1.xs4all.nl>
Path: arc1-ca.pugleaf.net!unknown!not-for-mail
References: <8ebaol$383$1@news1.skynet.be> <8ebd86$h35$1@news1.xs4all.nl> <390cf1c0.3237364@news.multiweb.nl>

Show Full Headers
Complete Article Headers
X-Google-Language: DUTCH,ASCII-7-bit
X-Google-Thread: 107324,e553d3c38d53dcee
X-Google-Attributes: gid107324,public
X-Google-Thread: 10b08a,e553d3c38d53dcee
X-Google-Attributes: gid10b08a,public
X-Google-Thread: fcea4,e553d3c38d53dcee
X-Google-Attributes: gidfcea4,public
From: "Frans Bouma" <perseus@xs4all.nl>
Subject: Re: Databases en ASP
Date: 2000/04/29
Message-ID: <8eecbd$s6k$1@news1.xs4all.nl>
X-Deja-AN: 617128737
Content-Transfer-Encoding: 7bit
Sender: perseus@9dyn50.dh.casema.net
References: <8ebaol$383$1@news1.skynet.be> <8ebd86$h35$1@news1.xs4all.nl> <390cf1c0.3237364@news.multiweb.nl>
X-Priority: 3
Content-Type: text/plain; charset="iso-8859-1"
X-MimeOLE: Produced By Microsoft MimeOLE V5.00.2919.6700
X-Complaints-To: abuse@xs4all.nl
X-Trace: news1.xs4all.nl 957002925 28884 212.64.30.50 (29 Apr 2000 10:08:45 GMT)
Organization: Solutions Design
X-MSMail-Priority: Normal
Mime-Version: 1.0
Reply-To: "Frans Bouma" <perseus@xs4all.nl>
NNTP-Posting-Date: 29 Apr 2000 10:08:45 GMT
Newsgroups: be.comp.programming,nl.comp.programmeren,nl.internet.www.ontwerp