Re: Best Error Trap
From: Norm Cook (normcookNOSPAM_at_cableone.net)
Date: 10/07/04
- Previous message: Martin Schmeller: "XP peer2peer slow performance with mdb on a network drive !!!"
- In reply to: Pawel Durys: "Re: Best Error Trap"
- Messages sorted by: [ date ] [ thread ]
Date: Thu, 7 Oct 2004 07:48:50 -0500
Many thanks, that does the trick nicely.
"Pawel Durys" <pdurys@op.pl> wrote in message
news:ck170b$m30$1@news.onet.pl...
> "Norm Cook" <normcookNOSPAM@cableone.net> wrote in message
> news:10m852qgmip2a33@corp.supernews.com...
> > Is there a standard method to check the results of a VB query?
> > For example
> > Set RS = DB.OpenRecordSet(SqlQuery)
> >
> > I've tried
> > If Not RS Is Nothing
> > 'doesn't seem to work-returns a RS object but I guess RecordCount is
> > zero?
> >
> > On Error Resume Next
> > RS.MoveLast
> > If RS.RecordCount = 0 '
> >
> > Can't seem to get my head around this.
> >
>
>
> Maybe check out BOF and EOF property at the same time.
>
> --
> Bye
> Pawel Durys
>
- Previous message: Martin Schmeller: "XP peer2peer slow performance with mdb on a network drive !!!"
- In reply to: Pawel Durys: "Re: Best Error Trap"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|