do while loop question

  • Thread starter Thread starter Darin
  • Start date Start date
D

Darin

i have a do while loop that within it has a select statement. Some of
the items are done some of the times, others are done all the time.

I would like either:

Do while not_done
if quick and mid(file,1,2)<>'SO' then
next do
end if

select case
end select
Loop

OR

Do while not_done
select case
case "ARCust" and not quick
case "SOOrder"
case "ICItem" and not quick
end select
Loop

Are either of these (or something very similar possible or do i need to
do additional IF statements?

Darin
 
Also, you probably don't want "And", you most likely want "AndAlso".

Beleive it or not, "And" will still evaulate the right hand portion of a
test, even when the left hand portion is false.

-Scott
 
Back
Top