Encountering slow navigation to a card containing very large fields? Do this one simple trick.
Craig Newman
craig at starfirelighting.com
Mon Apr 18 10:04:44 EDT 2022
I think on the forum a few years ago we played with a gadget that only displayed a small number of lines of a very large dataset. That would perhaps allow a table field to be used without having to learn all about dataGrids. I will try to find that discussion.
Not that it is not a good idea to at least use the basics of a DG as a standard tool as a matter of course.
Craig
> On Apr 17, 2022, at 9:48 AM, Richard Gaskin via use-livecode <use-livecode at lists.runrev.com> wrote:
>
>
> David V Glasgow wrote:
>
> > On 16 Apr 2022, at 8:20 pm, Richard Gaskin wrote:
> >>
> >> How many is "many many thousands of lines"? 10k? 100k? More?
> >
> > Typically 30,000 to 800,000.
>
> What is the user asked to do with 800,000 lines of data?
>
> That is, does this need to be displayed?
>
>
> >> Is the data displayed in list fields, or must the line wraps be
> >> calculated?
> >
> > The wrapped line field is locked and doesn’t change after import
> > and is unaffected by the keyword-containing-lines process. I
> > suppose a good question is are line wraps recalculated on navigation
> > to the card.
>
> I'd guess that the card record is unpacked before rendering, which would include the controls, such as fields, and their contents.
>
> --
> Richard Gaskin
> Fourth World Systems
>
> _______________________________________________
> 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