PC Review


Reply
Thread Tools Rate Thread

ADO 2.7 recordset problem

 
 
maz
Guest
Posts: n/a
 
      15th Dec 2007
I have the following bit of code

There are 13 records in the table i'm reading into the recordset from.

I keep getting an OVERFLOW error that has to do with the rs.Fields(1)
line below...
If i remove that line.. loop works fine of course

The array has 14 cells so there's no problem there.

i = 1
While Not rs.EOF
BucketArray(i) = rs.Fields(1)
i = i + 1
rs.MoveNext
Wend

Any ideas?
 
Reply With Quote
 
 
 
 
maz
Guest
Posts: n/a
 
      15th Dec 2007
On Dec 15, 12:15 pm, maz <mazen.hamd...@banqueaudi.com> wrote:
> I have the following bit of code
>
> There are 13 records in the table i'm reading into the recordset from.
>
> I keep getting an OVERFLOW error that has to do with the rs.Fields(1)
> line below...
> If i remove that line.. loop works fine of course
>
> The array has 14 cells so there's no problem there.
>
> i = 1
> While Not rs.EOF
> BucketArray(i) = rs.Fields(1)
> i = i + 1
> rs.MoveNext
> Wend
>
> Any ideas?


SORRY ... I got it ... It was just an array data type issue

Disregard this thread... thanks
 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
problem with recordset ma Microsoft Access VBA Modules 2 16th May 2005 10:31 PM
problem with recordset ma Microsoft Access 2 16th May 2005 10:31 PM
Recordset problem =?Utf-8?B?YnV6eg==?= Microsoft Access VBA Modules 7 8th Dec 2004 11:49 PM
Problem with Set combobox.recordset = <adodb.recordset> Gijs Beukenoot Microsoft Access Form Coding 0 10th Nov 2004 06:22 PM
Re: !Recordset from a parameterized query, as the form's recordset. Problem on sorting... Savvoulidis Iordanis Microsoft Access Forms 0 24th Jun 2004 08:52 AM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:39 AM.