Re: RecordSet fails if a field is null ! - unspecified error '80004005'
- From: Troubled User <big.smelly.litter.box@xxxxxxxxx>
- Date: Thu, 01 Jun 2006 13:11:12 -0400
On Wed, 31 May 2006 22:07:42 -0400, "Bob Barrows [MVP]" <reb01501@xxxxxxxxxxxxxxx> wrote:
OK, I asked you what the datatype of the origin field was and you did not
understand the question. So I will ask again: what type of data is stored in
origin? Text or numbers?
ha, yes I completely missed to question the first time. Origin is a text field.
Actually, it doesn't matter. There is nothing about a null being returned
that should cause an error when you open a recordset.
Are you sure it's the rs.open line? Have you temporarily, for debugging
purposes, put a response.end statement on the next line after the open
statement to see if the error still occur?
Yeah thats what I was doing to be sure. This is a really strange problem that is going to bother me for a few weeks. While i was
troubleshooting (and going in circles) I some how fixed the problem. I noticed that some of the fields where named poorly such as "where",
which should cause my sql to have bad syntax.. For the life of me I cannot see what the problem was with the origin field (and while
testing that was the only field i was selecting)...
Who knows... I'm sure i mad a typo somewhere.. i'll just never know what it was
If you are sure about the open statement raising the error, then I have to
start grasping at straws. Could your database be corrupt? There are database
utilities in Access that you can use to compact and repair your database.
Give that a try.
Maybe something is wrong with your Jet components. Go to microsoft.com and
search for the latest Jet 4.0 service pack (you should probably ask in an
Access group for pointers to that).
Are you using the Jet OLE DB provider in your connection string? Or the ODBC
driver? Switch to the one you are not using to see if that makes a
difference.
Good idea. I didnt think you could use ODBC with access... then again, why not.
.
- Follow-Ups:
- Re: RecordSet fails if a field is null ! - unspecified error '80004005'
- From: Bob Barrows [MVP]
- Re: RecordSet fails if a field is null ! - unspecified error '80004005'
- References:
- Re: RecordSet fails if a field is null ! - unspecified error '80004005'
- From: Dan
- Re: RecordSet fails if a field is null ! - unspecified error '80004005'
- From: Bob Barrows [MVP]
- Re: RecordSet fails if a field is null ! - unspecified error '80004005'
- From: Troubled User
- Re: RecordSet fails if a field is null ! - unspecified error '80004005'
- From: Bob Barrows [MVP]
- Re: RecordSet fails if a field is null ! - unspecified error '80004005'
- Prev by Date: Registry Keys
- Next by Date: Re: RecordSet fails if a field is null ! - unspecified error '80004005'
- Previous by thread: Re: RecordSet fails if a field is null ! - unspecified error '80004005'
- Next by thread: Re: RecordSet fails if a field is null ! - unspecified error '80004005'
- Index(es):
Relevant Pages
|