>lcWaitMess = "Counting Routes input data records..." >Wait Window lcWaitMess At 10, 120 Nowait NOCLEAR >llEOF = .F. > >With thisform > .nMaxJ = 0 && Count of no. of J-like recs > ... && Posit so can stay in loop 1st time > Do While Not llEOF && of Bus source records > If MOD(.nMaxJ, 16000) = 0 > lcWaitMess = lcWaitMess + "." > Wait Window lcWaitMess At 10, 120 Nowait NOCLEAR > Endif > ... > * test for set llEOF > If Not INLIST( lcRecID, "QS", "QE", "QN", "QO", "QT", "QI", "QR") && If not a journey-type rec > llEOF = .T. > Else > .nMaxJ = .nMaxJ + 1 > Endif > ... > Enddo >EndWith >Wait clear >>