In the AfterRowColChange I have:
_mainform.refresh
When you click on a command buttons to change tables i have:
_mainform.grid1.recordsource = ("data\dvd.dbf")
_MainForm.CATEGORYID1.ControlSource = ("dvd.CATEGORYID") _MainForm.subject1.ControlSource = ("dvd.subject") _MainForm.movietitle1.ControlSource = ("dvd.movietitle") _MainForm.rating1.ControlSource = ("dvd.rating") _MainForm.note1.ControlSource = ("dvd.note") _mainform.refresh
The buttons to change the tables are basically the same code but with different tables. I can see the record selector change when I choose the next record and the text boxes update too.
|