[jToolkit-cvs] jToolkit/data PyADO.py,1.9,1.10
Brought to you by:
davidfraser,
friedelwolff
From: <dav...@us...> - 2004-03-08 17:08:29
|
Update of /cvsroot/jtoolkit/jToolkit/data In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv25297 Modified Files: PyADO.py Log Message: tried to fix problem with NumericScale attribute... Index: PyADO.py =================================================================== RCS file: /cvsroot/jtoolkit/jToolkit/data/PyADO.py,v retrieving revision 1.9 retrieving revision 1.10 diff -C2 -d -r1.9 -r1.10 *** PyADO.py 10 Feb 2004 08:59:24 -0000 1.9 --- PyADO.py 8 Mar 2004 16:44:04 -0000 1.10 *************** *** 276,280 **** display_size = internal_size precision = field.Precision ! scale = field.NumericScale null_ok = field.Attributes & adFldMayBeNull # add this column to the description list --- 276,284 ---- display_size = internal_size precision = field.Precision ! try: ! scale = field.NumericScale ! except: ! # guess if error... ! scale = 0 null_ok = field.Attributes & adFldMayBeNull # add this column to the description list |