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] text widgets-insert problem genc74 3 88 Apr-27-2019, 04:00 PM
Last Post: Yoriz
  how to insert image into Text widget Tkinter atlass218 5 238 Apr-17-2019, 05:28 AM
Last Post: atlass218
  pyQt5 QCalendarWidget setHeaderTextFormat zazen000 0 97 Apr-14-2019, 11:50 PM
Last Post: zazen000
  Huge code problems (buttons(PyQt5),PyQt5 Threads, Windows etc) ZenWoR 0 101 Apr-06-2019, 11:15 PM
Last Post: ZenWoR
  [Pyqt5]Display name of new inserted USB stick on GUI Atalanttore 0 148 Mar-24-2019, 08:29 PM
Last Post: Atalanttore
  Python3/PyQt5/gnuplot on linux erg 1 134 Mar-20-2019, 01:57 PM
Last Post: Axel_Erfurt
  How to show graph as a slideshow in PyQt5 using matplotlib binsha 0 231 Mar-08-2019, 03:58 AM
Last Post: binsha
  TypeError when using PushButton (PyQt5) lmsavk 1 149 Mar-03-2019, 04:21 PM
Last Post: Alfalfa
  Tkinter Gui ScrolledText Insert From Different Class whisperquiet 1 317 Jan-08-2019, 09:25 PM
Last Post: Larz60+
  Insert color in tkinter automatically Dwimmerlaik 4 404 Jan-07-2019, 07:10 PM
Last Post: Dwimmerlaik

Forum Jump:


Users browsing this thread: 1 Guest(s)