How to debug "Argument out of range" in TMSQuery.Close

Discussion of open issues, suggestions and bugs regarding SDAC (SQL Server Data Access Components) for Delphi, C++Builder, Lazarus (and FPC)
Post Reply
brace
Posts: 213
Joined: Wed 14 Feb 2007 08:26

How to debug "Argument out of range" in TMSQuery.Close

Post by brace » 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.

AlexP
Devart Team
Posts: 5530
Joined: Tue 10 Aug 2010 11:35

Re: How to debug "Argument out of range" in TMSQuery.Close

Post by AlexP » Tue 19 Apr 2016 05:50

hello,

Please send a small sample demonstrating the issue with "ARGUMENT OUT OF RANGE" to support*devart*com , including scripts for creating and populating the table.

Post Reply