Python Forum
Strategy on updating edits back to data table and object variables
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Strategy on updating edits back to data table and object variables
I pull data out of a data table to assign to a object's variables. I use these object variables to assign to kivy text input.text. There are numerous text inputs on a screen.
Question 1: when text is changed in some of the text inputs, is it easier just to update all the text entries back to the data table regardless or set up code to bind each text input so only the ones changed get updated back to the table?

Question2: Same idea on updating object variable after a change has been made-just grab them all and update versus going through a call back for each text input and only update ones changed?

Coding wise just seems easier update all each time. speed wise not sure.

Possibly Related Threads…
Thread Author Replies Views Last Post
  Moving average strategy irina_shubina 2 1,016 Jul-31-2022, 05:11 PM
Last Post: paulyan
  strategy to troubleshoot what pyinstaller misses hammer 0 407 May-23-2022, 01:05 AM
Last Post: hammer
  Write and read back data Aggie64 6 810 Apr-18-2022, 03:23 PM
Last Post: bowlofred
  Best strategy for creating .exe for windows hammer 4 696 Apr-05-2022, 12:47 AM
Last Post: hammer
  panda table data kucingkembar 0 498 Mar-01-2022, 10:38 PM
Last Post: kucingkembar
  Sorting table data Blacktime2 1 688 Feb-26-2022, 07:05 PM
Last Post: ibreeden
  SQLALCHEMY - Not selecting data from table jamesaarr 4 1,325 Nov-02-2021, 03:02 PM
Last Post: Larz60+
  SaltStack: MySQL returner save less data into Database table columns xtc14 2 1,427 Jul-02-2021, 02:19 PM
Last Post: xtc14
  Converting data object mbrown009 5 1,951 May-30-2021, 11:35 PM
Last Post: mbrown009
  Need help on extract dynamic table data Dr_Strange 0 1,767 Apr-30-2021, 07:03 AM
Last Post: Dr_Strange

Forum Jump:

User Panel Messages

Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020