haskell-cafe@haskell.org
[Top] [All Lists]

Re: [Haskell-cafe] Looking for Haskellers on Windows

Subject: Re: [Haskell-cafe] Looking for Haskellers on Windows
From: GÃnther Schmidt
Date: Sat, 10 Jan 2009 20:33:29 +0100
Kyra,

that is fantastic new!

Victory is near, I can smell it hahahahahahahaha ...

Um, sry for that, I'm just really really happy and glad I made that post today. I've been trying to get this issue resolved for more than 14 days now and if now solution had shown up on the horizon I would have been forced to dump Haskell and do it all over again in Smalltalk and really quick on top of it because the final deadline is Jan 19.

The app is 95 % finished and really all that is missing is the bloody export to Access.

Thank you very very much.

GÃnther





Am 10.01.2009, 19:48 Uhr, schrieb kyra <kyrab@xxxxxxx>:

John Goerzen wrote:
GÐnther Schmidt wrote:
Kyra I've tried any sort of values to any sort of columns. I tried "insert into somesinglecolumntable (someNumbercolumn) values (?)" [toSql 5] ... and so on.

So I'm not certain at all the error message does actually give the right clue.

It just blows no matter what.

It seems, I've managed to track down the issue.

Access ODBC driver doesn't support sqlDescribeParam.

bindCol (Database/HDBC/ODBC/Statement.hsc) contains the following stub for this:

           do poke pdtype #{const SQL_CHAR}
              poke pcolsize 0
              poke pdecdigits 0

This does not work.

I've made an experiment replacing 'poke pcolsize 0' with 'poke pcolsize 255'. Now all integer or varchar bindings work!

It seems simpleSqlColumns or something similar must be used.

Cheers,
Kyra



--
Erstellt mit Operas revolutionÃrem E-Mail-Modul: http://www.opera.com/mail/
_______________________________________________
Haskell-Cafe mailing list
Haskell-Cafe@xxxxxxxxxxx
http://www.haskell.org/mailman/listinfo/haskell-cafe

<Prev in Thread] Current Thread [Next in Thread>