hi all i am new in qt/c++ i am trying to build a program with database using QTableView QLineEdit QComboBox..
the LineEdit shows a valiu the records filtered by that valiu.. now the ComboBox displays somenames with valius and what i want is that when i change the valius in the combobox it should applied to all that filtered records (rows) as i am showing in my diagram below..

thanx for any help guys..

updaterows2.png

This is not automatic but easily doable.
You now have the filtered records,
You need to get all the filtered records by id,
Use the id to change/update all the filtered records

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.