PDA

Click to See Complete Forum and Search --> : Help!!! How do you find current record value?


Sal
Apr 29th, 2000, 01:36 AM
(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

smalig
Apr 30th, 2000, 09:08 PM
Current ID is current ID:

if you use a recordset myRst

curID = myRst!ID