Answer the question
In order to leave comments, you need to log in
Don't understand code execution without iteration?
I don’t press F5, I just select it with the mouse and look at the value, I was looking for an error for several hours, how can a check for equality be a mistake in general ... Of course, it happens to me when I look at an obvious thing and don’t understand, but right now I really don’t understand. ..
Answer the question
In order to leave comments, you need to log in
foonfyrick ,
What's the question then?
Data Sampling - works similarly to all other PLs.
The fact that when the "Next ()" function is executed, it clicks to the next record and whether it was possible to go to the next record or not (True / False) - Written in SP ... (RTFM)
The code is quite adequate ... "Check something then with a query in the tab part... if you don't find it, add it by code...
If you find it, don't add it."
Every time you check MSelect2.Next() in the debugger, it gets the next entry.
Accordingly:
1. MSelect2.Next() = True //the first record is selected
2. "MSelect2.Next() <> True" = True //here already MSelect2.Next() = False, i.e. there is no second record in the selection
3. MSelect2.Next() = False //there is still no second record in the selection
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question