Finding/Seeking/setting the current record when using a data control 
Author Message
 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



Sun, 05 Mar 2000 03:00:00 GMT  
 
 [ 1 post ] 

 Relevant Pages 

1. Data Control: Returning and Setting the current Record

2. Displaying the current record after using the Seek method

3. Function to seek record and make current record on form

4. Using SEEK to find record #?

5. Using SEEK to move DATA cntrl record

6. Finding a record without Find/Seek methods...

7. Finding a record without Find/Seek methods...

8. Seek does not change current record in form

9. no current record after seek

10. Seek and "No Current Record"

11. Seek Error / No current record

12. Seek w/ No current record????

 

 
Powered by phpBB® Forum Software