Python Forum

Full Version: pyqt5 comobox insert into mysql
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
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.
What's the difference between a drop down, and a combo box? Aren't those just different terms for the same thing?
(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.