Is there a way to set the condtions for a loop while, like this :
if a = - 1 then
ate= me.valor
end if
in case the variable (ate) is not null the first line of the line would be ---> Do While !rabat < ate
and in case (ate) is null the first line would be -----> Do While Not .EOF
if a = - 1 then
ate= me.valor
end if
in case the variable (ate) is not null the first line of the line would be ---> Do While !rabat < ate
and in case (ate) is null the first line would be -----> Do While Not .EOF