Mar-21-2021, 09:33 AM
Ok, writing like that:
About the search function..what if I want that when I type more than 1 field, it must check rows matching all those field, even if some are blank.
If use ADD in backend.search(), all fields must be filled. Perhaps to do what I mean it would take a lot more lines and logical checks. I hope you understand what I mean.
And thank you again.
def get_selected_row(event): global selected_row index = list.curselection() if not index: return selected_row = list.get(index) e1.delete(0,END) e1.insert(END,selected_row[1])Seems working fine now. Thank you.
About the search function..what if I want that when I type more than 1 field, it must check rows matching all those field, even if some are blank.
If use ADD in backend.search(), all fields must be filled. Perhaps to do what I mean it would take a lot more lines and logical checks. I hope you understand what I mean.
And thank you again.