[Lazarus] Accessing MS SQLServer database from Lazarus/FPC?

Michael Van Canneyt michael at freepascal.org
Sun Jan 23 12:06:12 CET 2011


On Sat, 22 Jan 2011, Bo Berglund wrote:

> On Fri, 21 Jan 2011 17:30:57 +0100 (CET), michael.vancanneyt at wisa.be
> wrote:
>
>> Without the error message, we cannot begin to start looking for a solution.
>>
>> Michael.
>
> I can now answer that after I have restarted the virtual machine where
> I was investigating this:
>
> The error message captured as the Exception.Message is:
>
> 'Cannot open a non-select statement'

Attached is a possible patch. I don't have MS-SQL (doesn't run on Linux) so I can't test.
Please apply it to packages/fcl-db/src/sqldb/sqldb.pp and report whether this helped you 
solve your problem. If so, I will commit it to SVN.

Michael.

-------------- next part --------------
A non-text attachment was scrubbed...
Name: sqldb.diff
Type: text/x-diff
Size: 520 bytes
Desc: 
URL: <http://lists.lazarus-ide.org/pipermail/lazarus/attachments/20110123/a6920fb6/attachment-0001.diff>


More information about the Lazarus mailing list