Jim.Vickroy wrote:
> Hello,
>
> I am a novice user of ADOX who is attempting to create a database and
> a table in it.
>
> I seem to be able to create a SQL Express database but am unable to
> add a table to it.
>
> The attached script (adox.py) illustrates the difficulty.
>
> Any suggestions would be appreciated.
I think Sql Server requires that you create the table before
adding any keys. Try moving the table.Keys.Append
to after catalog.Tables.Append.
Roger
_______________________________________________
Python-win32 mailing list
[email protected]
http://mail.python.org/mailman/listinfo/python-win32