home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Software Du Jour
/
SoftwareDuJour.iso
/
BUSINESS
/
DBASE
/
MEMBERS.ARC
/
MDGEN.PRG
< prev
next >
Wrap
Text File
|
1986-10-16
|
2KB
|
59 lines
*----------------------------------------------------------------------
* Program : Membership Database Package
* File : MDGEN
* Function: Checks for existence of all required DBF & MEM files
* Author : J. North
* Version : (AT contest)
* Date : 10/15/86
*----------------------------------------------------------------------
*
select 1
if .not. file("mdkeys.dbf")
clear
? "Installation Error - Function Key Text File Not Found"
wait "(Note this message then press any key)
close databases
quit
endif
if .not. file("genmbr.dbf")
clear
? "Installation Error - Database Template File Not Found"
wait "(Note this message then press any key)
close databases
quit
endif
if .not. file("list80.frm")
clear
? "Installation Error - List 80 Report Form Not Found"
wait "(Note this message then press any key)
close databases
quit
endif
if .not. file("one-up.lbl")
clear
? "Installation Error - One-Up Label Form Not Found"
wait "(Note this message then press any key)
close databases
quit
endif
if .not. file("mdvars.mem")
public m_grp,m_device
store 1 to m_device
store 1 to m_grp
save to mdvars.mem
endif
if .not. file("members.dbf")
create members from genmbr
endif
if .not. file("name.ndx")
use members
index on last_name+first_name to name
use
endif
if .not. file("zip.ndx")
use members
index on zip to zip
use
endif
return