Re: [web2py] Re: Help - Grid with left joins and sending arguments/variables to other functions

2017-07-21 Thread Jim Steil
I've certainly done that in the past as well. Have a great weekend! -Jim On Fri, Jul 21, 2017 at 1:32 PM, 'Matthew J Watts' via web2py-users < web2py@googlegroups.com> wrote: > Ok thanks for your help Jim, i was getting confused - i introudced a bug > into my app but all working fine now i move

Re: [web2py] Re: Help - Grid with left joins and sending arguments/variables to other functions

2017-07-21 Thread 'Matthew J Watts' via web2py-users
Ok thanks for your help Jim, i was getting confused - i introudced a bug into my app but all working fine now i moved all the code to a fresh app On Fri, Jul 21, 2017 at 3:51 PM, Jim Steil wrote: > I'm assuming you're talking about a primary key made up of multiple > fields. Is that correct. >

Re: [web2py] Re: Help - Grid with left joins and sending arguments/variables to other functions

2017-07-21 Thread Jim Steil
I'm assuming you're talking about a primary key made up of multiple fields. Is that correct. I've never done that, but I don't see how it would change anything other than the 'left' setup. -Jim On Fri, Jul 21, 2017 at 5:54 AM, 'Matthew J Watts' via web2py-users < web2py@googlegroups.com> wrote:

Re: [web2py] Re: Help - Grid with left joins and sending arguments/variables to other functions

2017-07-21 Thread 'Matthew J Watts' via web2py-users
Hi, do you know if this is the same when i use primary keys of legacy tables - doesn't seem to be working when i change my tables to primary key. thanks On Wed, Jul 19, 2017 at 4:10 PM, Jim S wrote: > We were all there once. Glad I was able to help. Part of the beauty of > web2py is the commun

Re: [web2py] Re: Help - Grid with left joins and sending arguments/variables to other functions

2017-07-19 Thread Jim S
We were all there once. Glad I was able to help. Part of the beauty of web2py is the community and the friendly help you can get on this group. -Jim On Wednesday, July 19, 2017 at 9:26:08 AM UTC-5, Matthew J Watts wrote: > > Great thanks Jim, that did it for me - it's hard being a beginner!! >

Re: [web2py] Re: Help - Grid with left joins and sending arguments/variables to other functions

2017-07-19 Thread 'Matthew J Watts' via web2py-users
Great thanks Jim, that did it for me - it's hard being a beginner!! On Wed, Jul 19, 2017 at 2:09 PM, Jim S wrote: > I'd start first with changing this: > > links = [lambda ids: A('Download data set',_href=URL("default","down > load_dataset.csv",args=[ids.id]))] > > to this: > > links = [lambda i

[web2py] Re: Help - Grid with left joins and sending arguments/variables to other functions

2017-07-19 Thread Jim S
I'd start first with changing this: links = [lambda ids: A('Download data set',_href=URL("default","download_dataset.csv",args=[ids.id]))] to this: links = [lambda ids: A('Download data set',_href=URL("default","download_dataset.csv",args=[ids.MAIN.id ]))] When you add the LE