Seek?? (1 Viewer)

cable

Access For My Sins
Local time
Today, 18:51
Joined
Mar 11, 2002
Messages
228
Is the following code snippet alright?
Code:
'add up int terms
    iTerms = 0
    RateRS.Seek "=", AccsRS!ACCOUNT_NO, AccsRS!SUBACC_NO
    Do Until RateRS.NoMatch
        iTerms = iTerms + RateRS!TERM_BAND_LENGTH
        RateRS.Seek ">", AccsRS!ACCOUNT_NO, AccsRS!SUBACC_NO
    Loop
It's the seek usage i've never used, so i'm a little unsure about it.
 

Users who are viewing this thread

Top Bottom