I have been able to stop the loop when a Null record is reached by
While [kplus] <> 1.0101010101
Call abc
Wend
As well as
Do
Call abc
Loop While [kplus] <> 1.0101010101
"While" partly does the first Null record but stops. "Do" completes the Null record and partly does the next Nul record. But I can fix the "While"
I could find nothing on the Google that would solve the Null condition problem. However, from trying everything I could it was appearing as if Null was not being recognised or whatever. Thus the condition field where records are not null has no record with 1.01010101 and so the loop continues but I think it is stoping at a null record because it does not know what to do.
<>abcd etc also works, anything works as long as the (<> whatever) does not equal the value of a record in the condition field. However, if say <>15 is used and a record has 15 then the While/Wend stops at that record as opposed to going to the next record when <>15 does not match any record and a null record stops it.
I am sure there is a better way than what I have done to match Is Not Null in a macro to stop the RunMacro action.
The function abc() being called is the macro converted to code that was run by RunMacro