Hi,
I am new to Qt. I have successfully created a database table using QSqlRelationalTablemodel also able to view the table.My requirement is to get the row number by giving the field name which is present in that row .For example ,
This is my tabel :
personid personname country
------------------------------------
101 Alice US
102 Bob India
If I give the filed name "Alice" , I should get the row no : 1. can you pls help me, how to do that? If possible pls give me the code snippet also.
Thanks & Regards,
Raju
Bookmarks