home *** CD-ROM | disk | FTP | other *** search
- *⌐░⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐┤
- *⌐ª Program: UDFFND.PRG ⌐ª
- *⌐ª Function: ╫╘╢¿╥σ╝∞╦≈╠⌡╝■╡─╝∞╦≈│╠╨≥ ⌐ª
- *⌐ª DBF & File: UDFCONDI.DBF ⌐ª
- *⌐╕⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐ñ⌐╝
- SET TALK OFF
- SET SAFETY OFF
-
- DEFINE POPUP udf_menu FROM 4,24 MARGIN MARK CHR(251) COLOR SCHEME 5
-
- DEFINE BAR 1 OF udf_menu PROMPT " \< ╫╘╢¿╥σ╝∞╦≈▓╦╡Ñ " SKIP
- DEFINE BAR 2 OF udf_menu PROMPT "\-"
- DEFINE BAR 3 OF udf_menu PROMPT "\<1. ╫╘╢¿╥σ╠⌡╝■╝∞╦≈"
- DEFINE BAR 4 OF udf_menu PROMPT "\<2. ╝∞╦≈╠⌡╝■┐Γ╬¼╗ñ"
- DEFINE BAR 5 OF udf_menu PROMPT "\-"
- DEFINE BAR 6 OF udf_menu PROMPT "\<3. ╖╡╗╪╓≈▓╦╡Ñ"
-
- ON SELECT BAR 3 OF udf_menu DO UDF_FND
- ON SELECT BAR 4 OF udf_menu DO UPDATE_DB
- ON SELECT BAR 6 OF udf_menu DEACTIVATE POPUP udf_menu
- ACTIVATE POPUP udf_menu
- DEACTIVATE POPU udf_menu
- CLEAR
- RETURN
-
- PROCEDURE UDF_FND
- STORE 1 TO SEL
- DIMENSION option(60), condit(60)
- USE UDFCONDI
- I=1
- DO WHILE .NOT. EOF()
- option(I)= DESCRIPT
- option(I)=TRIM(option(I))
- condit(I)= CONDITION
- condit(I)=TRIM(condit(I))
- I=I+1
- SKIP
- ENDDO
- USE
- N1=I-1
-
- *SET COLOR TO +W/RB
- @ 2,60 MENU option,N1,12 TITLE " ╤í╘±╠⌡╝■ " SHADOW
- READ MENU TO SEL
-
- IF SEL=0
- CLOSE DATABASES
- CLEAR WINDOWS
- RETURN
- ENDIF
- MYCONDI=condit(SEL)
- USE PERSONAL
- INDEX ON A1 TO PERSTEMP FOR &MYCONDI
- BROW
- *DO DISPLAY
- RETURN
-
-
- PROCEDURE UPDATE_DB
- USE UDFCONDI
- BROWSE FIELDS CONDITION :H="╝∞╦≈╠⌡╝■:", DESCRIPT :H=" ╦╡├≈:";
- TITLE "╫╘╢¿╥σ╝∞╦≈╠⌡╝■" ;
- REDIT
- PACK
- RETURN