Results 1 to 2 of 2

Thread: Help!!! How do you find current record value?

  1. #1

    Thread Starter
    Hyperactive Member Sal's Avatar
    Join Date
    Mar 2000
    Posts
    262

    Exclamation

    (Newbie Here)I have an access database that I am using in VB. I need to return the value of the access database ID#. In other words... I have 30 records, which are actually questions. The program needs to know which question or (Record) is selected. In access, the ID field tells which record is being viewed.

    How do I do this in VB. I have exhausted my books. They all say how to move to previous, last, next, first, etc., but do not discuss how to show the current record ID.

    Please offer help.

    Thanks,
    Sal

  2. #2
    Addicted Member
    Join Date
    Oct 1999
    Posts
    232

    Exclamation

    Current ID is current ID:

    if you use a recordset myRst

    curID = myRst!ID


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  



Click Here to Expand Forum to Full Width