Missing keys in datagrid?
Pi Digital
sean at pidigital.co.uk
Tue Dec 17 22:08:47 EST 2019
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 of examination. although why it chose the smaller and earlier of one and the larger and later of the other is a bit inconsistent. Hmmm, very interesting.
All the best
Sean Cole
Pi Digital Prod Ltd
> On 17 Dec 2019, at 20:13, Klaus major-k via use-livecode <use-livecode at lists.runrev.com> wrote:
>
> Hi friends,
>
> I have a datagrid "produkte" of type Table with these 12 columns:
> 1. lfd_nummer
> 2.Titel
> 3.sid
> 4.währung
> 5.Kupon
> 6.barriere
> 7. Verfallsdatum
> 8.Basiswerte
> 9. status
> 10. statusstatus
> 11. abruffehler
> 12. abruffehlermeldung
>
> But when I fire this in the messagebox:
> send "printkeys" to grp "produkte", I only get 10 keys?
> 1
> Verfallsdatum: ``
> abruffehlermeldung: ``
> lfd_nummer: `0018`
> status: ``
> sid: `44`
> Titel: `sdsdsdds`
> Basiswerte: `Aktien`
> Kupon: `50.00%`
> barriere: `80.00%`
> währung: `CHF`
>
> Same with:
> put the dgdata of grp "produkte" into tt;put keys of tt[1]
> Verfallsdatum
> abruffehlermeldung
> lfd_nummer
> status
> sid
> Titel
> Basiswerte
> Kupon
> barriere
> währung
>
> Again only 10 keys from total 12!? What am I missing?
> Tested on macOS 10.14.6 with LC 9.05, 9.04 and 9.5.1 GM.
>
>
> Best
>
> Klaus
> --
> Klaus Major
> https://www.major-k.de
> klaus at major-k.de
>
>
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode
More information about the use-livecode
mailing list