home *** CD-ROM | disk | FTP | other *** search
dBase Query | 1992-03-10 | 4.7 KB | 77 lines |
- * dBASE IV .QBE file 8
- CLOSE DATABASES
- SET EXACT ON
- SELECT 1
- USE EMPLOYEE.DBF
- SET FILTER TO (LIKE("Kee*",EMPLOYEE->LASTNAME) .OR. "J" $ FIRSTNAME;
- .OR. INITIAL="G")
- QBE___SAFE = SET("SAFETY")
- QBE___CATA = SET("CATALOG")
- SET SAFETY OFF
- SET CATALOG OFF
- GO TOP
- IF RECCOUNT() > 1
- QBE___12 = '.\'+LTRIM(STR(RAND(-1)*100000000,8))
- SORT TO &QBE___12 ON FIRSTNAME/A,INITIAL/A
- USE &QBE___12 NOSAVE NOUPDATE
- ENDIF
- SET SAFETY &QBE___SAFE
- SET CATALOG &QBE___CATA
- GO TOP
- EMPLOYEE.DBF
- :Employee.dbf*$i
- :LASTNAME*$i
- :FIRSTNAME*$i
- :INITIAL*$i
- :DEPARTMENT*$i
- :EMP_ID*$i
- :PHONE*$i
- :SPECIALTY*$i
- :COMMENTS*$i
- :AWARDS*$i
- :DATE_HIRED*$i
- :DEGREE*$i
- :EXEMPT*$i
- :FULL_TIME*$i
- :LABORGRADE*$i
- :RATE*$i
- :SALARY*$i
- :TITLE*$i
- :YRS_EXPER*$i
- :ADDRESS1*$i
- :ADDRESS2*$i
- :CITY*$i
- :STATE*$i
- :ZIP*$i
- :department+lastname+firstname+initial*$i
- :department+STR(salary,8,2)*$i
- :STR(yrs_exper,4,1)*$i
- :lastname+firstname+initial*$i
- ,xx:LIKE "Kee*"*$i
- ,xx:$"J",Asc1*$i
- ,xx:"G",Asc2*$i
- ,xx:*$i
- :locator*$i ,
- *$i ,
- *$i ,
- *$i ,
- *$i ,
- *$i ,
- *$i ,
- *$i ,
- *$i ,
- *$i ,
- *$i ,
- *$i ,
- *$i ,
- *$i ,
- *$i ,
- *$i ,
- *$i ,
- *$i ,
- *$i ,
- *$i ,
- *$i ,
- *$i ,
- *$i ,
-