home *** CD-ROM | disk | FTP | other *** search
- * ⌐░⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐┤
- * ⌐ª Program: CONDIFND.PRG ⌐ª
- * ⌐ª Function: ╠⌡╝■╝∞╦≈╖╢└²╥╗ ⌐ª
- * ⌐ª Proce: DISPLAY.PRG ⌐ª
- * ⌐ª DBF & File: PERSONAL.DBF ⌐ª
- * ⌐╕⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐╝
- SET SAFETY OFF
- SET STATUS OFF
- SET TALK OFF
- SET DATE ANSI
-
- SET COLOR TO W/N
- CLEAR
- PUBLIC MYWORD
- PRIVATE A2J , A3J , A4J , A5J , A9J , A13J , A14J , A20J , A21J , A22J , A23J
- PRIVATE COND1 , COND2 , COND3 , COND4 , COND41 , COND5 , COND4N
- PRIVATE COND6 , COND7 , COND8 , COND9 , COND10
- PRIVATE VA , VA1 , LENVA , LENVA1
- STORE .T. TO LOOP1
- AA2 = SPACE(16)
- AA3 = SPACE(10)
- AA4 = SPACE(10)
- AA13 = SPACE(10)
- AA14 = SPACE(10)
- AA20 = SPACE(10)
- AA21 = SPACE(10)
- AA22 = SPACE(6)
- AA23 = SPACE(10)
-
- DO WHILE LOOP1
- STORE SPACE(20) TO A2J
- STORE SPACE(20) TO A3J
- STORE SPACE(20) TO A4J
- STORE SPACE(20) TO A5J
- STORE SPACE(20) TO A9J
- STORE SPACE(20) TO A13J
- STORE SPACE(20) TO A14J
- STORE SPACE(20) TO A20J
- STORE SPACE(20) TO A21J
- STORE SPACE(20) TO A22J
- STORE SPACE(20) TO A23J
- STORE SPACE(200) TO A
-
- SET COLOR TO 7/1,7/4
- @ 4 , 12 SAY "⌐░⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐┤"
- @ 5 , 12 SAY "⌐ª ╝∞ ╦≈ ╠⌡ ╝■ ⌐ª"
- @ 6 , 12 SAY "⌐└⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐╚"
- @ 7 , 12 SAY "⌐ª ╡Ñ ╬╗: ⌐ª"
- @ 8 , 12 SAY "⌐ª ▓┐ ├┼: ⌐ª"
- @ 9 , 12 SAY "⌐ª ┤ª ╩╥: ⌐ª"
- @ 10, 12 SAY "⌐ª ╨╒ ├√: ⌐ª"
- @ 11, 12 SAY "⌐ª ─Ω ┴Σ: ⌐ª"
- @ 12, 12 SAY "⌐ª ╡│╒■╓░╬±: ⌐ª"
- @ 13, 12 SAY "⌐ª ╫¿╥╡╓░╬±: ⌐ª"
- @ 14, 12 SAY "⌐ª ╦∙╤º╫¿╥╡: ⌐ª"
- @ 15, 12 SAY "⌐ª ┤╙╩┬╣ñ╫≈: ⌐ª"
- @ 16, 12 SAY "⌐ª ╦∙╤º═Γ╙∩: ⌐ª"
- @ 17, 12 SAY "⌐ª ═Γ╙∩│╠╢╚: ⌐ª"
- @ 18, 12 SAY "⌐╕⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐╝"
-
- SET CURSOR ON
- DBNAME="DICFIL02"
- DO GETLIST
- SELECT 1
- A2J = MYWORD
- @ 7 , 25 SAY A2J
- @ 7 , 25 GET A2J PICTURE "XXXXXXXXXXXXXXXX"
-
- DBNAME="DICFIL03"
- DO GETLIST
- SELECT 1
- A3J = MYWORD
- @ 8 , 25 SAY A3J
- @ 8 , 25 GET A3J PICTURE "XXXXXXXXXX"
-
- DBNAME="DICFIL04"
- DO GETLIST
- SELECT 1
- A4J = MYWORD
- @ 9 , 25 SAY A4J
- @ 9 , 25 GET A4J PICTURE "XXXXXXXXXX"
- @ 10 , 25 GET A5J PICTURE "XXXXXXXXXXXXXXXXXXXX"
- @ 11 , 25 GET A9J PICTURE "XXXXXXXXXXXXXXXXXXXX"
-
- DBNAME="DICFIL13"
- DO GETLIST
- SELECT 1
- A13J = MYWORD
- @12 , 25 SAY A13J
- @12 , 25 GET A13J PICTURE "XXXXXXXXXXXXXXXXXXXX"
-
- DBNAME="DICFIL14"
- DO GETLIST
- SELECT 1
- A14J = MYWORD
- @13 , 25 SAY A14J
- @13 , 25 GET A14J PICTURE "XXXXXXXXXXXXXXXXXXXX"
-
- DBNAME="DICFIL20"
- DO GETLIST
- SELECT 1
- A20J = MYWORD
- @14 , 25 SAY A20J
- @14 , 25 GET A20J PICTURE "XXXXXXXXXXXXXXXXXXXX"
- READ
-
- DBNAME="DICFIL21"
- DO GETLIST
- SELECT 1
- A21J = MYWORD
- @15 , 25 SAY A21J
- @15 , 25 GET A21J PICTURE "XXXXXXXXXXXXXXXXXXXX"
-
- DBNAME="DICFIL22"
- DO GETLIST
- SELECT 1
- A22J = MYWORD
- @16 , 25 SAY A22J
- @16 , 25 GET A22J PICTURE "XXXXXXXXXXXXXXXXXXXX"
-
- DBNAME="DICFIL23"
- DO GETLIST
- SELECT 1
- A23J = MYWORD
- @17 , 25 SAY A23J
- @17 , 25 GET A23J PICTURE "XXXXXXXXXXXXXXXXXXXX"
- READ
-
- A2J = TRIM(A2J)
- A3J = TRIM(A3J)
- A4J = TRIM(A4J)
- A5J = TRIM(A5J)
- A9J = TRIM(A9J)
- A13J = TRIM(A13J)
- A14J = TRIM(A14J)
- A20J = TRIM(A20J)
- A21J = TRIM(A21J)
- A22J = TRIM(A22J)
- A23J = TRIM(A23J)
- COND1 =IIF(LEN(A2J)<>0, "A2='&A2J' .AND.","")
- COND1N =IIF(LEN(A2J)<>0, "╡Ñ╬╗='&A2J' .AND.","")
- COND2 =IIF(LEN(A3J)<>0, "A3='&A3J' .AND.","")
- COND2N =IIF(LEN(A3J)<>0, "▓┐├┼='&A3J' .AND.","")
- COND3 =IIF(LEN(A4J)<>0, "A4='&A4J' .AND.","")
- COND3N =IIF(LEN(A4J)<>0, "┤ª╩╥='&A4J' .AND.","")
- COND4 =IIF(LEN(A9J)<>0, "(YEAR(DATE())-YEAR(A9))&A9J .AND.","")
- COND4N =IIF(LEN(A9J)<>0, "─Ω┴Σ&A9J .AND.","")
- COND41 =IIF(LEN(A5J)<>0, "A5='&A5J' .AND.","")
- COND41N=IIF(LEN(A5J)<>0, "╨╒├√='&A5J' .AND.","")
- COND5 =IIF(LEN(A13J)<>0, "A13='&A13J'.AND.","")
- COND5N =IIF(LEN(A13J)<>0, "╡│╒■╓░╬±='&A13J'.AND.","")
- COND6 =IIF(LEN(A14J)<>0, "A14='&A14J'.AND.","")
- COND6N =IIF(LEN(A14J)<>0, "╫¿╥╡╓░╬±='&A14J'.AND.","")
- COND7 =IIF(LEN(A20J)<>0, "A20='&A20J'.AND.","")
- COND7N =IIF(LEN(A20J)<>0, "╦∙╤º╫¿╥╡='&A20J'.AND.","")
- COND8 =IIF(LEN(A21J)<>0, "A21='&A21J'.AND.","")
- COND8N =IIF(LEN(A21J)<>0, "┤╙╩┬╣ñ╫≈='&A21J'.AND.","")
- COND9 =IIF(LEN(A22J)<>0, "A22='&A22J'.AND.","")
- COND9N =IIF(LEN(A22J)<>0, "╦∙╤º═Γ╙∩='&A22J'.AND.","")
- COND10 =IIF(LEN(A23J)<>0, "A23='&A23J'.AND.","")
- COND10N=IIF(LEN(A23J)<>0, "═Γ╙∩│╠╢╚='&A23J'.AND.","")
- VA ="&COND1"+"&COND2"+"&COND3"+"&COND4"+"&COND41" +"&COND5"+"&COND6"+"&COND7"+"&COND8"+"&COND9"+"&COND10"
- VA1="&COND1N"+"&COND2N"+"&COND3N"+"&COND4N"+"&COND41N"+"&COND5N"+"&COND6N"+"&COND7N"+"&COND8N"+"&COND9N"+"&COND10N"
- LENVA = LEN(VA)
- LENVA1 = LEN(VA1)
- IF RIGHT(VA,5)=".AND."
- VA = SUBSTR(VA,1,LENVA-5)
- VA1 = SUBSTR(VA1,1,LENVA1-5)
- ENDIF
- STORE " " TO LOOP2
- DEFINE WINDOW find FROM 7,0 TO 17, 79 COLOR SCHEME 5
- ACTIVATE WINDOW find
- @ 1, 2 SAY "▓Θ╤»╠⌡╝■╬¬:"
- @ 3, 5 SAY VA1 PICTURE "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
- @ 6, 2 SAY "╟δ╝∞▓Θ╦∙╩Σ╚δ▓Θ╤»╠⌡╝■╩╟╖±╒²╚╖?(Y/N)" GET LOOP2 PICTURE "L"
- READ
- DEACTIVATE WINDOW find
- IF UPPER(LOOP2)="Y"
- STORE .F. TO LOOP1
- ENDIF
- SET COLOR TO 7
- CLEAR
- ENDDO
- SET COLOR TO 7
- IF LEN(A)<>0
- USE PERSONAL
- INDEX ON A1 TO PERSTEMP FOR &VA
- ENDIF
- DO DISPLAY
- SET COLOR TO 7
- RETURN