RE: What is wrong with this statement?

2019-07-10 Thread Epperlein, Lutz (agendo) via 4D_Tech
If $Return_ptr and $Column1 are pointers, you have to dereference them: $Result:= $Column1->{ $Return_ptr->{$Item} } For better clarity I would extract $Return_ptr->{$Item} $index_col:= $Return_ptr->{$Item} $Result:= $Column1->{ $index_col } HTH Regards Lutz ***

Re: What is wrong with this statement? Corrected

2019-07-09 Thread Narinder Chandi via 4D_Tech
:23 To: 4D Tech Mailing List <4d_tech@lists.4d.com> Cc: Narinder Chandi <4dtechmailingl...@toolbox.uk.com> Subject: Re: What is wrong with this statement? Corrected At least it is easy to work around... On Tue, 09 Jul 2019 20:18:18 +0100, Narinder Chandi via 4D_Tech wrote:

Re: What is wrong with this statement? Corrected

2019-07-09 Thread Chip Scheide via 4D_Tech
.com> > Cc: Narinder Chandi <4dtechmailingl...@toolbox.uk.com> > Subject: Re: What is wrong with this statement? Corrected > > hmm v12... > > OK - I tracked it down. > > It has to do with Listboxes > a 'normal' array works as expe

Re: What is wrong with this statement? Corrected

2019-07-09 Thread Narinder Chandi via 4D_Tech
eide <4d_o...@pghrepository.org> Date: Tuesday, 9 July 2019 at 20:01 To: 4D Tech Mailing List <4d_tech@lists.4d.com> Cc: Narinder Chandi <4dtechmailingl...@toolbox.uk.com> Subject: Re: What is wrong with this statement? Corrected hmm v12... OK - I tracked it down.

Re: What is wrong with this statement? Corrected

2019-07-09 Thread Chip Scheide via 4D_Tech
4d_tech@lists.4d.com> > Date: Tuesday, 9 July 2019 at 19:16 > To: 4D Tech Mailing List <4d_tech@lists.4d.com> > Cc: Chip Scheide <4d_o...@pghrepository.org> > Subject: Re: What is wrong with this statement? Corrected > > what version - it might be that the issue

Re: What is wrong with this statement? Corrected

2019-07-09 Thread Narinder Chandi via 4D_Tech
ts.4d.com> Reply-To: 4D Tech Mailing List <4d_tech@lists.4d.com> Date: Tuesday, 9 July 2019 at 19:16 To: 4D Tech Mailing List <4d_tech@lists.4d.com> Cc: Chip Scheide <4d_o...@pghrepository.org> Subject: Re: What is wrong with this statement? Corrected what version - it might be

Re: What is wrong with this statement? Corrected

2019-07-09 Thread Chip Scheide via 4D_Tech
correct"? > ...or there is it down to some other issue?? > > Regards, > Narinder Chandi, > ToolBox Systems Ltd. > -- > > -Original Message- > From: Chip Scheide <4d_o...@pghrepository.org> > Date: Tuesday, 9 July 2019 at 17:57 > To: 4D T

Re: What is wrong with this statement? Corrected

2019-07-09 Thread Narinder Chandi via 4D_Tech
riginal Message- > From: 4D_Tech <4d_tech-boun...@lists.4d.com> on behalf of 4D Tech > Mailing List <4d_tech@lists.4d.com> > Reply-To: 4D Tech Mailing List <4d_tech@lists.4d.com> > Date: Tuesday, 9 July 2019 at 17:16 > To: 4D Tech Mailing L

Re: What is wrong with this statement? Corrected

2019-07-09 Thread Chip Scheide via 4D_Tech
_tech@lists.4d.com> > Date: Tuesday, 9 July 2019 at 17:16 > To: 4D Tech Mailing List <4d_tech@lists.4d.com> > Cc: Chip Scheide <4d_o...@pghrepository.org> > Subject: Re: What is wrong with this statement? Corrected > > My bad -- the correct line of code that is fai

Re: What is wrong with this statement? Corrected

2019-07-09 Thread Narinder Chandi via 4D_Tech
t;4d_tech@lists.4d.com> Reply-To: 4D Tech Mailing List <4d_tech@lists.4d.com> Date: Tuesday, 9 July 2019 at 17:16 To: 4D Tech Mailing List <4d_tech@lists.4d.com> Cc: Chip Scheide <4d_o...@pghrepository.org> Subject: Re: What is wrong with this statement? Corrected My bad

Re: What is wrong with this statement? Corrected

2019-07-09 Thread Chip Scheide via 4D_Tech
My bad -- the correct line of code that is failing is: $Result:= $Column1 ->{ $Return_ptr-> {$Item} } On Tue, 9 Jul 2019 12:14:37 -0400, Chip Scheide via 4D_Tech wrote: > $Result:= $Column1{ $Return_ptr{$Item} } --- Gas is for washing parts Alcohol is for drinkin' Nitromethane is for r