I have an Access 2000 data project connected to an MS SQL 2000 database.
I have code written on a Continuous Records form, (called Form1 for this explanation) to open another Single Record form (Form2) depending on which record you selected from Form1.
I had entered test data in the database and everything was working as expected. But now....
When I execute the code to open Form2, I get this error description:
"The conversion of the nvarchar value '99001154398' overflowed an int column. Max integer value was exceeded."
The trouble is my code does not try to put '99001154398', which is a primary key into an int column. In fact, this number is not even related to the records I'm working with.
It is the PK for a completely unrelated record.
Is there some way Access or SQL is storing this number in a place I may not have looked?
I step through my code and the error occurs when Form2 begins to Load.
I checked the Filter and the ServerFilter properties on Form2. I also checked to make sure there was no filter criteria on the underlying query other than what I was applying from Form1.
Please help...I can't take much more beating my head on the desk
I have code written on a Continuous Records form, (called Form1 for this explanation) to open another Single Record form (Form2) depending on which record you selected from Form1.
I had entered test data in the database and everything was working as expected. But now....
When I execute the code to open Form2, I get this error description:
"The conversion of the nvarchar value '99001154398' overflowed an int column. Max integer value was exceeded."
The trouble is my code does not try to put '99001154398', which is a primary key into an int column. In fact, this number is not even related to the records I'm working with.
It is the PK for a completely unrelated record.
Is there some way Access or SQL is storing this number in a place I may not have looked?
I step through my code and the error occurs when Form2 begins to Load.
I checked the Filter and the ServerFilter properties on Form2. I also checked to make sure there was no filter criteria on the underlying query other than what I was applying from Form1.
Please help...I can't take much more beating my head on the desk