>W-ER4026D.JPG >W-ER4036D.JPG >W-ER4056D.JPG >W-ER4066D.JPG >W-TB2211D.JPG >W-TB1022D.JPG >W-NK646CIT.JPG >W-TB2209D.JPG >W-TB2408D.JPG >W-TB2289A.JPG >W-TB2448D.JPG>
#define crlf CHR(13) + CHR(10) = MESSAGEBOX(DIRECTORY("c:\windows")) m.ltTime = DATETIME() _cliptext = "" CREATE CURSOR crsTest (FieldName C(50)) m.lcFileName = SYS(2000,'c:\windows\*.exe') && Note: get the "first" file that matches. DO WHILE NOT EMPTY(m.lcFileName) WAIT WINDOW NOWAIT m.lcFileName UPPER(m.lcFileName) _cliptext = _cliptext + m.lcFileName + CRLF INSERT INTO crsTest VALUES (m.lcFileName) *!* NOTE! Notice the 1 here..for get the "next" record that matches. m.lcFileName = SYS(2000,'c:\windows\*.exe', 1) && get the "next" exe. ENDDO = MESSAGEBOX("Execution Time = " + STR((DATETIME() - m.ltTime))) && This always returns zero. Kewl! :^) = MESSAGEBOX("Record Count = " + STR(RECCOUNT('crsTest')))>What do you think should I do to fix the situation?