Bottom Page

Thread Rating:
  • 4 Vote(s) - 3.25 Average
  • 1
  • 2
  • 3
  • 4
  • 5
[PyQt] pyqt5 comobox insert into mysql
#1
Hello All,

Can someone please lead me in the right direction as I've been search for a why to do this for months.
So far using textedit date edit works 100%.

Here is part of my code:
cur.execute("INSERT INTO
"VALUES('%s', ''.join(self.lineEdit_9.text()),
''.join(self.dateEdit_10.text()),


If there is maybe another way to do a drop down select instead of comobox that will also be great.

Hope this is make sense.

Thanks you.
Quote
#2
What's the difference between a drop down, and a combo box? Aren't those just different terms for the same thing?
Quote
#3
(Jan-10-2019, 10:52 PM)nilamo Wrote: What's the difference between a drop down, and a combo box? Aren't those just different terms for the same thing?

Hi Nilamo, you are 100% correct, Combo Box is a input widget to make a drop down menu:-)
But you never know in the world of computers maybe instead of using the "Combo Box" there
is another way to do the something. We have brilliant meads around Us.
Quote

Top Page

Possibly Related Threads...
Thread Author Replies Views Last Post
  Tkinter Gui ScrolledText Insert From Different Class whisperquiet 1 104 Jan-08-2019, 09:25 PM
Last Post: Larz60+
  Insert color in tkinter automatically Dwimmerlaik 4 189 Jan-07-2019, 07:10 PM
Last Post: Dwimmerlaik
  [PyQt] I get the error when I try to open the sample Why can pyqt5 installed onatdogan 3 147 Dec-25-2018, 03:00 PM
Last Post: Larz60+
  pyqt5 combobox add item with loop shift838 5 198 Dec-09-2018, 08:54 PM
Last Post: shift838
  PyQT5 - connect to mouseMoveEvent kainev 0 185 Nov-28-2018, 02:14 PM
Last Post: kainev
  Missing characters in PyQt5 LittleGrim13 2 188 Nov-28-2018, 06:48 AM
Last Post: LittleGrim13
  right mouse button click with PyQt5 brecht83 4 402 Nov-09-2018, 02:55 PM
Last Post: brecht83
  Installing PyQt5 Designer birdieman 6 30,770 Nov-01-2018, 10:51 AM
Last Post: mherrmann
  PyQt5: Add Variable Number of Rows to Layout Based on Python Dictionary kennybassett 2 634 Oct-02-2018, 02:05 PM
Last Post: Alfalfa
  [PYQT5] Crashing when using .hide() and .show() aking76 0 285 Sep-18-2018, 02:09 PM
Last Post: aking76

Forum Jump:


Users browsing this thread: 1 Guest(s)