Re: [web2py] Re: Got error when I put 'fields' as an argument to SQLFORM.grid

2021-01-29 Thread Muhammad Atif Ayaz
')*` >> >> The reason is that the field names are in string format not in >> db.tablename.fieldname format >> >> >> On Wed, Jan 27, 2021 at 6:30 PM Jim Steil wrote: >> >>> What is wrong with using the example you provided? >>>

Re: [web2py] Re: Got error when I put 'fields' as an argument to SQLFORM.grid

2021-01-27 Thread Muhammad Atif Ayaz
ided? > > -Jim > > > On Tue, Jan 26, 2021 at 10:45 PM Muhammad Atif Ayaz > wrote: > >> Thank you Jim, it works. >> >> Do you think a way that can help dynamically making a list of all fields >> of a table and then we can remove specific fields from i

Re: [web2py] Re: Got error when I put 'fields' as an argument to SQLFORM.grid

2021-01-26 Thread Muhammad Atif Ayaz
Thank you Jim, it works. Do you think a way that can help dynamically making a list of all fields of a table and then we can remove specific fields from it. Like the following which produces the required list but in the desired data-type: fields = [fld for fld in db.engagement.fields if fld!='toke

Re: [web2py] Re: tuple to gluon.dal.Rows conversion

2012-12-19 Thread Muhammad Atif Ayaz
Thanks a lot for a very useful tip Regards On Tue, Dec 18, 2012 at 9:18 PM, Anthony wrote: > t will automatically convert the res --

Re: [web2py] Re: Unable to create/Insert-in tables in potgre database

2012-12-18 Thread Muhammad Atif Ayaz
yes it's the same application that worked properly with sqlite and now I am trying to connect it to new postgres db. sql.log doesn't have a single error message. On Tue, Dec 18, 2012 at 2:38 PM, Niphlod wrote: > yeah, but you must be sure that those refer to the new database: if it's > the same