Encountering slow navigation to a card containing very large fields? Do this one simple trick

Bob Sneidar bobsneidar at iotecdigital.com
Thu Apr 21 11:22:11 EDT 2022


Let me know off list if you want to have a look at the handlers I have written for getting data from a datagrid array into a memory database and back again so your queries can be more efficient. 

Bob S


> On Apr 21, 2022, at 04:50 , David V Glasgow via use-livecode <use-livecode at lists.runrev.com> wrote:
> 
> 
> Thanks to all who responded on this.  I will definitely take a look at Datagrids as a possible solution.  Both Phil and Jim suggested avoiding navigation completely …. which I will also investigate.
> 
> Cheers
> 
> David G
> 
>> On 21 Apr 2022, at 2:23 am, Jim Lambert via use-livecode <use-livecode at lists.runrev.com> wrote:
>> 
>>> DavidG wrote:
>>> That is exactly it, Craig!  Text processing and field responsivity on the card containing the fields are as fast as I could hope.  
>>> 
>>> It is simply navigating back to the card containing the fields that can take several seconds, depending on how much text is in the fields.  The workaround is to have invisible groups containing the field(s) placed on the card you are navigating from.
>> 
>> Here's another possibility.
>> Instead of using multiple cards, do the whole interface on a single card. 
>> Have different groups on that single card, each of which does the job of one of the eliminated cards.
>> In that way you NEVER NAVIGATE away from your data fields. They are simple present in a now hidden group.
>> 
>> For example, let's say your stack currently has 5 cards.
>> Card #1 is the card with the two data fields you describe.
>> Put those fields and any other interface elements currently on that card into Group #1 of the card.
>> Put the contents of cards 2 thru 5 into groups #2 thru 5 on card #1.
>> Hide and show groups where you previously navigated between cards.
>> 
>> Jim Lambert
>> 
>> _______________________________________________
>> 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
> 
> _______________________________________________
> 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