Hi Trevor,
> Am 18.12.2019 um 13:51 schrieb Trevor DeVore via use-livecode
> :
> On Wed, Dec 18, 2019 at 6:40 AM Klaus major-k via use-livecode <
> use-livecode@lists.runrev.com> wrote:
>>> ...
>>> So my guess is that you are populating the DataGrid with data that only
>> has
>>> 10 columns.
On Wed, Dec 18, 2019 at 6:40 AM Klaus major-k via use-livecode <
use-livecode@lists.runrev.com> wrote:
> Hi Trevor,
>
> thanks for chiming in!
>
> > Am 18.12.2019 um 13:28 schrieb Trevor DeVore via use-livecode <
> use-livecode@lists.runrev.com>:
> >
> > On Wed, Dec 18, 2019 at 2:38 AM Klaus
Hi Trevor,
thanks for chiming in!
> Am 18.12.2019 um 13:28 schrieb Trevor DeVore via use-livecode
> :
>
> On Wed, Dec 18, 2019 at 2:38 AM Klaus major-k via use-livecode <
> use-livecode@lists.runrev.com> wrote:
> ...
> So my guess is that you are populating the DataGrid with data that only has
On Wed, Dec 18, 2019 at 2:38 AM Klaus major-k via use-livecode <
use-livecode@lists.runrev.com> wrote:
> Hi Bob,
>
> > Am 18.12.2019 um 01:13 schrieb Bob Sneidar via use-livecode <
> use-livecode@lists.runrev.com>:
> >
> > If I recall a long time ago speaking with Trevor, printkeys() does not
>
Hi Bob,
> Am 18.12.2019 um 01:13 schrieb Bob Sneidar via use-livecode
> :
>
> If I recall a long time ago speaking with Trevor, printkeys() does not
> necessarily return ALL keys.
AHA!
OK, that explains something, but not all.
Empty or not, this SHOULD list all keys, but doesn't?
...
put
Hey Klaus
The first thing that grabs my attention is that the two missing keys,
statusstatus and abruffehler, are very similar to two other keys, status and
abruffehlermeldung. I wonder if this similarity is where printKeys is pulling
incomplete results. It would certainly be my initial route
The easiest way to view arrays in LC these days is with the tree widget.
1. Drop a tree widget on your card
2. Set the widget's arrayStyle to true
3. Set the widget's arrayData to your array.
--
Richard Gaskin
Fourth World Systems
Software Design and Development for the Desktop, Mobile, and
If I recall a long time ago speaking with Trevor, printkeys() does not
necessarily return ALL keys. Your array does not look that large though.
I have an array function that may prove more helpful. I designed it so that you
could "search" or filter an array for a key and/or a value. It will
indeed, maybe this helps too for a selected line
Data of a selected line:
*if the dgHilitedLine of group "DataGrid 1" is not empty
then
put the dgHilitedLine of group "DataGrid 1" into theLine
*
*put the dgDataOfLine[theLine] of group "DataGrid 1" into tEdit**
*
*put tEdit["Nummer"] into
Hi Jerry,
> Am 17.12.2019 um 20:42 schrieb JJS via use-livecode
> :
>
> Ein schöne guten abend Klaus,
> i don't know exactly what your trying to accomplish,
I need to do lots of: repeat for each key tKey in...
And now I am a bit irritated that some key may be missing in my loop!?
> but maybe
Ein schöne guten abend Klaus,
i don't know exactly what your trying to accomplish, but maybe this
helps, or give a further idea. I use this to export column names and data:
put the dgProp[ "columns" ] of group "DataGrid 1" into tColumnTitles
replace return with comma in tColumnTitles
Hi Paul,
> Am 17.12.2019 um 21:36 schrieb Paul Dupuis via use-livecode
> :
>
> I am not 100% sure about the datagrid, but in regular arrays, if your d not
> set a key, it will not be present.
>
> So, if you never put a value into tt[1][statusstatus] then the key
> [statusstatus] will not be
I am not 100% sure about the datagrid, but in regular arrays, if your d
not set a key, it will not be present.
So, if you never put a value into tt[1][statusstatus] then the key
[statusstatus] will not be in the list of keys for tt[1]. If you want
all keys to be present for each row, then you
13 matches
Mail list logo