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
  Python3/PyQt5/gnuplot on linux erg 1 50 Mar-20-2019, 01:57 PM
Last Post: Axel_Erfurt
  How to show graph as a slideshow in PyQt5 using matplotlib binsha 0 83 Mar-08-2019, 03:58 AM
Last Post: binsha
  TypeError when using PushButton (PyQt5) lmsavk 1 91 Mar-03-2019, 04:21 PM
Last Post: Alfalfa
  Tkinter Gui ScrolledText Insert From Different Class whisperquiet 1 215 Jan-08-2019, 09:25 PM
Last Post: Larz60+
  Insert color in tkinter automatically Dwimmerlaik 4 296 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 237 Dec-25-2018, 03:00 PM
Last Post: Larz60+
  pyqt5 combobox add item with loop shift838 5 421 Dec-09-2018, 08:54 PM
Last Post: shift838
  PyQT5 - connect to mouseMoveEvent kainev 0 308 Nov-28-2018, 02:14 PM
Last Post: kainev
  Missing characters in PyQt5 LittleGrim13 2 296 Nov-28-2018, 06:48 AM
Last Post: LittleGrim13
  right mouse button click with PyQt5 brecht83 4 828 Nov-09-2018, 02:55 PM
Last Post: brecht83

Forum Jump:


Users browsing this thread: 1 Guest(s)