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
  Create X Number of Variables and Assign Data RockBlok 8 750 Nov-14-2023, 08:46 AM
Last Post: perfringo
  Using pyodbc&pandas to load a Table data to df tester_V 3 698 Sep-09-2023, 08:55 PM
Last Post: tester_V
  Moving average strategy irina_shubina 2 1,702 Jul-31-2022, 05:11 PM
Last Post: paulyan
  strategy to troubleshoot what pyinstaller misses hammer 0 883 May-23-2022, 01:05 AM
Last Post: hammer
  Write and read back data Aggie64 6 1,740 Apr-18-2022, 03:23 PM
Last Post: bowlofred
  Best strategy for creating .exe for windows hammer 4 1,418 Apr-05-2022, 12:47 AM
Last Post: hammer
  panda table data kucingkembar 0 1,017 Mar-01-2022, 10:38 PM
Last Post: kucingkembar
  Sorting table data Blacktime2 1 1,260 Feb-26-2022, 07:05 PM
Last Post: ibreeden
  SQLALCHEMY - Not selecting data from table jamesaarr 4 2,130 Nov-02-2021, 03:02 PM
Last Post: Larz60+
  SaltStack: MySQL returner save less data into Database table columns xtc14 2 2,066 Jul-02-2021, 02:19 PM
Last Post: xtc14

Forum Jump:

User Panel Messages

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