I've been trying to display sqlite data in wxcomboboxes but I get a type error not all arguments converted during string formatting, I'm Using a caller for the frame and it displays for about five comboBoxes but when I add more (exactly the same way as the first ones) It gives me that error am I doing something wrong or is there a problem with sqlite?. my code works like this: Select*for store where Id = ? Self.frmedit.combo.setvalue frmedit.show (frmedit is a frame with some comboboxes & txtctrls) if i can get an example of displaying large data sets with textctrl and comboboxes that will be good too all I've seen so far are listctrls.
lancelot626
0
Newbie Poster
Recommended Answers
Jump to PostIt gives me that error am I doing something wrong
We don't know what the error is so there is no way to answer other than to ask what happens if nothing is found in the data base. Try printing the look up before adding to the combobox.
Jump to Post"I get a Type Error" tells nothing about the why. You must post the entire error message, which shows the offending line and the place in the line where the error occurs. If you use the exact same code to create all boxes using a loop or calling the same …
All 7 Replies
woooee
814
Nearly a Posting Maven
lancelot626
0
Newbie Poster
woooee
814
Nearly a Posting Maven
Gribouillis
commented:
well said
+13
lancelot626
0
Newbie Poster
woooee
814
Nearly a Posting Maven
lancelot626
0
Newbie Poster
lancelot626
0
Newbie Poster
Be a part of the DaniWeb community
We're a friendly, industry-focused community of developers, IT pros, digital marketers, and technology enthusiasts meeting, networking, learning, and sharing knowledge.