I want to be able to find a record based on clicking any cell in a DBGrid by using a Bookmark but can't work out the correct syntax to do it.
Can anyone help me???
Printable View
I want to be able to find a record based on clicking any cell in a DBGrid by using a Bookmark but can't work out the correct syntax to do it.
Can anyone help me???
You can use datagrid's selbookmark property.
ex:
rst.bookmark=datagrid1.selbookmarks(index)
rst==>ADODB.recordset