From: Valerie R. C. <vr...@co...> - 2003-01-29 18:59:47
|
> > >I think that maxlength is the problem here. Can you try a little >experiment for me... Try this patch: > >--- Sybase.py 23 Jan 2003 10:11:02 -0000 1.56 >+++ Sybase.py 24 Jan 2003 01:01:13 -0000 >@@ -158,6 +158,8 @@ > fmt.count = count > if fmt.datatype == CS_VARBINARY_TYPE: > fmt.datatype = CS_BINARY_TYPE >+ if fmt.maxlength > 65536: >+ fmt.maxlength = 65536 > status, buf = cmd.ct_bind(i + 1, fmt) > if status != CS_SUCCEED: > raise Error('ct_bind') > > > Dave, This patch works! (I have edited for typos). Furthermore, it works whether or not the text fields are all at the end. I don't get the other error I was talking about as long as I don't select a field with a unique type. Thanks! Valerie |