home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Phoenix CD 2.0
/
Phoenix_CD.cdr
/
24b
/
ntxerr.zip
/
REDOINDE.PRG
< prev
Wrap
Text File
|
1988-08-31
|
772b
|
26 lines
******************
FUNCTION RedoIndex
******************
* Include this function in one of the modules called by your application.
* -----------------------------------------------------------------------
* Replace all the index names and keys with ones used by your application.
* Add as many CASEs as you need
* cl_dbf is passed from OPEN_ERROR, it is the name of the database
* on which the USE ____ INDE ____ was attempted.
USE &cl_dbf
DO CASE
CASE cl_index = "TEST" && Examples only, replace & repeat with
INDE ON job_no TO &cl_index && your index names & keys.
*CASE cl_index = _______ etc....
* INDE ON _____ TO ______
OTHERWISE
@24,0 SAY "Index key is not defined in RedoIndex(). Aborting."
QUIT
ENDCASE
RETURN .T.