Topic: Less than helpful error message
I am having a problem with one of my xml queries, which ought to be easy to solve, were it not for the opacity of the error message...
Essentially the xml is a version of one of the supplied polygon queries, returning recods for a mapped polygon. I have modified it substantially so that it produces output in a very specific format to meet our needs.
Normally the query works fine (we usually use it on relatively small polygons where the number of record recieived is fairly small. Today though we ran it on a very large polygon and after a lot of thinking it produced a dialog with the message:
"There is an error in the SQL code. The error message is 'String or binary data would be truncated'"
However, if I carry out the same query via the wizard, using the same polygon and specifying exactly the same output fields, the query runs through to completion and returns 87,000 records.
Looks like I will now have to spend a lot of time examining my xml and comparing what it does with what the wizard does to try to locate the problem, or alternatively searching the 87,000 records across all fields, trying to find what might be truncated.
Would there be any point in requesting that the error message might be improved to give just an slight clue as to where the error is?
Wildlife Sites Officer
Wiltshire & Swindon Biological Records Centre