How to debug "Argument out of range" in TMSQuery.Close
Posted: Fri 15 Apr 2016 15:46
I am stuck on a issue.
On closing a TMSQuery i have "Argument out of range".
It does not happen always, but only after i create a datamodule that apparently has nothing to do with that MsQuery.Close command.
The query text is a simple SELECT fields FROM table ORDER BY some_fields
The query is also refered by Lookupfields from other queries.
To get more inforamtions i need to understand what causes the "Argument out of range" error, what can i do to understand more? What exacty causes that error and how can it be studied?
I use SDAC 7.2.10 on XE7.
On closing a TMSQuery i have "Argument out of range".
It does not happen always, but only after i create a datamodule that apparently has nothing to do with that MsQuery.Close command.
The query text is a simple SELECT fields FROM table ORDER BY some_fields
The query is also refered by Lookupfields from other queries.
To get more inforamtions i need to understand what causes the "Argument out of range" error, what can i do to understand more? What exacty causes that error and how can it be studied?
I use SDAC 7.2.10 on XE7.