Link to home
Start Free TrialLog in
Avatar of HKH1967
HKH1967Flag for Saudi Arabia

asked on

loop error in Ms access vba

while running the following code i get error if it reach to end of the record

With Me.RecordsetClone
    .MoveFirst
    Do Until .EOF
       
        Call browser.FindElement("input text", "name=name").InputText(Forms!Form1!name9)
        Call browser.FindElement("input image", "id=startsearch").Click
       
        .MoveNext
   
         Me.Bookmark = .Bookmark
     
    Loop
    End With

can you help to fix this error
ASKER CERTIFIED SOLUTION
Avatar of Julian Hansen
Julian Hansen
Flag of South Africa image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of HKH1967

ASKER

Great works fine thanks
Avatar of HKH1967

ASKER

I've requested that this question be closed as follows:

Accepted answer: 0 points for HKH1967's comment #a38285206

for the following reason:

Thanks
Ok but you need to assign points to a question.
Avatar of HKH1967

ASKER

sorry for that, thanks
Np :) - did it myself earlier today
Avatar of HKH1967

ASKER

accept the solution and assign full point 500
thanks