To highlight the row containing the active cell in a bound DBGrid,add the record set’s current bookmark to the grid’s SelBookmarkscollection:
Private Sub DBGrid_RowColChange _ (LastRow As Variant, ByVal LastCol As Integer) If datCtl.Recordset.RecordCount Then DBGrid.SelBookmarks.Add _ datCtl.Recordset.Bookmark End IfEnd Sub
Charlie has over a decade of experience in website administration and technology management. As the site admin, he oversees all technical aspects of running a high-traffic online platform, ensuring optimal performance, security, and user experience.
Related Posts
- Global Pact Targets Marine Geoengineering
- RIAA files lawsuits against Udio and Suno
- VXL’s new CloudDesktop??? PC Repurposing software provides a unique stepping-stone solution for extending the life of legacy PCs into a virtualized network
- Gartner Predicts 5.3% Growth in Enterprise Software Spending
- How to Capture Compute Time in Python























