943,866 Members | Top Members by Rank

Ad:
Dec 27th, 2006
-1

Getting Index of the current record in an access table

Expand Post »
I'm trying to make an event procedure in VBA that will compare the same field of two records for a conditional statement. Here is some psudocode of what I want:
Visual Basic 4 / 5 / 6 Syntax (Toggle Plain Text)
  1. If myTable.thisField[currRecord] == myTable.thisField[currRecord+1] then
  2. // Run a Query

Does anyone know the VBA code for this? Thanks.
Last edited by SlyMaelstrom; Dec 27th, 2006 at 11:58 am.
Similar Threads
Reputation Points: 15
Solved Threads: 2
Newbie Poster
SlyMaelstrom is offline Offline
21 posts
since Oct 2005

This thread is more than three months old

No one has posted to this discussion for at least three months. Please let old threads die and do not reply to them unless you feel you have something new and valuable to contribute that absolutely must be added to make the discussion complete. Otherwise, please start a new thread in this forum instead.
Message:
Previous Thread in Visual Basic 4 / 5 / 6 Forum Timeline: license code
Next Thread in Visual Basic 4 / 5 / 6 Forum Timeline: Mail Server Question





About Us | Contact Us | Advertise | Acceptable Use Policy
Forum Index | Build Custom RSS Feed


Follow us on Twitter


© 2011 DaniWeb® LLC