SQLScholar
Programmer
Hey all,
Got a bit of a weird error.
I have a Vb6 project which takes some data from an excel speadsheet, validates the data - then inserts it into our SQL db.
So....
I open the project and hit run. I get the following error:
Got a bit of a weird error.
I have a Vb6 project which takes some data from an excel speadsheet, validates the data - then inserts it into our SQL db.
So....
I open the project and hit run. I get the following error:
Run Time error '-*INSERT LARGE NUMBER*' (*INSERT OTHER LARGE NUMBER*)
Selected collating sequence not supported by the operating system
[\quote]
On this line
Code:Excel_SQL = "SELECT [Claim Ref], [Policy Number],[Claim Administrator],[Surname],[Forename], [Date of Claim], [Amount Paid], [Reserve], [Amount Incurred], [postcode], [Year of Account], [Date Closed], [Loss Description], [Peril Code], [Currency] FROM [Sheet1$]" Set Excel_RecordSet = Excel_Connection.Execute(Excel_SQL)
But then you can just continue to run (dont jump this line) and all works ok.
Furthermore, if you then stop the project and run again, its fine.
Lastly if you close the project, and re-open.... then run. Error is back for the first run!!!
Any ideas?
Dan
----------------------------------------
There are 2 types of computer, the prototype and the obsolete!!
----------------------------------------