Overflow error

G

Guest

Hi,

I am trying to run a query that has worked in the past. Now when I run it I
get an error that says "Overflow". The query is a combination of three other
queries all of which run successfully. Does anyone know why this error
occurs?

Thanks,
 
G

Guest

There's only one practical way for us to know: Show us the SQL. Open the
query in SQL view and copy and past it here. Information on primary keys and
relationships would be a nice touch too.

However if any of the queries us a convert function, like CInt, and your
data has recently changed, that could cause a problem. For example:

Debug.Print CInt(Date()) throws a Run Time Error 6 Overflow error as Integer
only goes up to about 32,000 and today's date is 38861.
 
J

John Spencer

You can get an overflow error in a query if you divide by zero or sum
integer values that total more than 32,767 or sum values that become to
large for Access to handle.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top