It should be so simple.
record = self.acctModel.record(self.ui.cbSelectAccount.currentIndex())
field=QSqlField()
field = record.field("AccountName")
print(field.value)
When I print the field value, I get the text <built-in method value of QSqlField object at 0x02BD9568>
How do I get this value?
The use case is that I have a combobox at the top of the window, and when I select that, I need to change the text in a lineEdit control to match the QSqlTable model that the combobox is bound to.
Yay...I Found it!!
This is the link that steered me in the right direction