Python Forum
[PyQt] How to update selected data in combobox displaying DB data?
Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PyQt] How to update selected data in combobox displaying DB data?
#4
(Jul-30-2021, 06:57 PM)deanhystad Wrote: Have you tried writing a program that connects to the database, does a query and prints the result? Not a GUI program, just a console program. I would start with that. Once I had that working I would write another console program that connects to the data base, does a query, and changes a value in the database. Once I had that working I might think of doing the same thing from a GUI.

I do the same operations in this, but in the visual version. It would be helpful to make menu logic for the terminal.

1- View database tables

2- select the table x

2.1- inquire

2.2- add etc
Reply


Messages In This Thread
RE: How to update selected data in combobox displaying DB data? - by JokerSob - Aug-02-2021, 04:39 AM

Possibly Related Threads…
Thread Author Replies Views Last Post
  PyQt5 form not displaying my data from SQLite3 Database Linuxdesire 2 5,087 Jan-10-2023, 09:51 PM
Last Post: gradlon93
  [PyQt] How can I sync Combobox index to other combobox index? nickzsche 2 2,490 Jan-03-2022, 12:29 PM
Last Post: Axel_Erfurt
  [Tkinter] Displaying Data from a database and run a function when clicked? PythonNPC 1 2,135 Mar-11-2020, 08:16 PM
Last Post: Larz60+
  [Tkinter] Update a combobox LagratteCchouette 0 3,911 Jan-12-2020, 01:44 PM
Last Post: LagratteCchouette
  Update value selected in option menu when select an item from text box klllmmm 2 5,134 Jun-06-2019, 04:51 AM
Last Post: klllmmm
  3D data mapper with data labels using python modules lemon 0 2,091 Nov-15-2018, 09:17 AM
Last Post: lemon

Forum Jump:

User Panel Messages

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