
Finding/Seeking/setting the current record when using a data control
Hi,
I would appreciate a suggestion about setting the current record
programmatically when using a data control. I have a table that has a two
part primary key - Lets say the primary key is FIRST, LAST for example.
Lets say that my application is a simple phone book that uses databound
controls, and the data control is called dtaFriends.
So, my problem is that I want to add a record, and then have the record
become the current record. Suppose the I have
Abe Baker
Cannonball Adderly
I programmatically add 'Bill Bailey', then I want the current record to
become 'Bill Bailey'. In my mind, I want to do something like
dtaFriends.UpdateRecord
dtaFriends.MakeNewRecordCurrent
Any suggestions will be appreciated.
Thanks in advance,
Mike Wesley