It works for me using appadmin web2py 2.4.5 source on windows XP, python
2.7.3, MSSQL server 2008R2.
Please post full error traceback.
On Friday, March 22, 2013 2:19:09 PM UTC-4, Raul Monares wrote:
>
> I have a MSSQL database with a 4 column primary key:
>
> dbcomercial.define_table('libros',
> Field('bloque',writable=False),
> Field('grupo',writable=False),
> Field('sector',writable=False),
> Field('libro',writable=False),
> Field('estatus'),
> Field('id_movil'),
> primarykey=['bloque','grupo','sector','libro'],
> migrate=False
> )
>
> This gives me an error: 'Table' object has no attribute '_id'.
> If I only specity on column in primarykey, I get no error, but can't do
> any updates.
> Using w2p 2.4.5
>
--
---
You received this message because you are subscribed to the Google Groups
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.