Re: OVERFLOW error

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance

From: Douglas J. Steele (NOSPAM_djsteele_at_NOSPAM_canada.com)
Date: 03/17/04


Date: Wed, 17 Mar 2004 07:05:09 -0500

Sounds as though you're adding a record number field when you're inserting,
and you've set that field to Integer, as opposed to Long Integer.

-- 
Doug Steele, Microsoft Access MVP
http://I.Am/DougSteele
(No private e-mails, please)
"Greg Nelson" <anonymous@discussions.microsoft.com> wrote in message
news:eab201c40c0f$aed78860$a501280a@phx.gbl...
> When I run a ADO query against a SQL Server database it
> is really quick, no problem.  I can loop thru all records
> in the recordset (96,000 in this example).  However when
> I try and write the contents of this recordset into an
> Access2002 table (using Addnew and Update) I get an
> OVERFLOW error when I hit 32767 records.  Doevents()
> doesnt help.  Any ideas anybody?
>


Relevant Pages

  • execute w/triggers returning 0 rows
    ... I added some triggers to an existing SQL Server database. ... I noticed in testing the triggers using their ad hoc query tool that inserting a row ... So I'm wondering if SQL Server returns multiple row counts in this type of situation or just the first one. ...
    (perl.dbi.users)
  • Re: date not correctly inserted when using sql in visual basic
    ... Doug Steele, Microsoft Access MVP ... (no e-mails, please!) ... >I am inserting a date in an Access table using Visual Basic. ...
    (microsoft.public.access.modulesdaovba)