home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Shareware Overload
/
ShartewareOverload.cdr
/
database
/
dbsales.zip
/
DBSALES.LBR
/
GASETUP.PRO
< prev
next >
Wrap
Text File
|
1986-01-14
|
3KB
|
99 lines
*
* GASETUP.PRO - set defaults and passwords
*
CLEAR
text
(C)COPYRIGHT GLENN ABELSON/SALES, P.O. BOX 1031, ROCKVILLE CTR. ì
NY 11571 516-766-7782
Contributions are welcome...Contributors get update information.
$20 or more gets free updates if and when.
This is a 'freeware' program. Copy it, give it out. JUST
DO NOT ALTER SOURCE CODE.
This is also a commercial - for any of you that need MORE than
I've offered here, or any DOS, PRESENTATION, or DATABASE
PROGRAMMING.
ENDTEXT
WAIT
CLEAR
TEXT
SET UP DEFAULTS AND PASSWORDS (You may not want to keep this file ì
with your main program files --- the name of this file is ì
GASETUP.PRO).
Multiple User names are allowed. Only one Password is accepted.
endtext
RESTORE FROM GAMEM.PRO
SET CONSOLE OFF
*
* storing string that make up gampass -- password memvar
*
STORE 'ok' to passa
STORE 'magic' to passb
SET CONSOLE ON
ACCEPT 'User name (up to 20 spaces) -- required ' TO mname
ACCEPT 'New password - 8 characters - only 1.... ' TO pass
SET CONSOLE OFF
STORE '&passa&pass&passb' to gampass
SET CONSOLE ON
?'All files with the extension .PRO go on default drive'
ACCEPT ' Default drive and colon: ' to gasysa
?'All files with .DBF .DBT .FMT or .NDX go on work drive'
ACCEPT 'Drive and colon: for DATABASE AND INDEX files ' to gasysb
?'COMMAND.COM must be in boot drive for DOS access to work.'
ACCEPT 'Drive and colon: from where dBASE is BOOTED ' to gaboot
ACCEPT 'Default boot color use format xx/xx,xx/xx,xx ' to ì
gamcolor
CLEAR
TEXT
There are four DATA fields in your prospecting database.
These are for your information searches.
You may reserve DATA1 for income, DATA2 for product, DATA3 best
time to call, etc.
What you may do here is give each of the four data fields
anything up to a 15 letter name (including spaces) that better
identifies the information for you.
From the program, the name you indicate here will be used.
If you work on the database from outside the program, you must ì
refer to the fields by there actual names - DATA1 through DATA4.
ENDTEXT
ACCEPT 'What to call DATA1...' to gadata1
ACCEPT 'What to call DATA2...' to gadata2
ACCEPT 'What to call DATA3...' to gadata3
ACCEPT 'What to call DATA$...' to gadata4
*
* ALL INFORMATION IS ACCEPTED ABOVE. If user has correct ì
* password, new data is enter
*
SET DEFAULT TO &gasysa
?'UPDATING DRIVE AND PASSWORD INFORMATION'
SET SAFETY OFF
SAVE ALL LIKE ga* to GAMEM.PRO
SET SAFETY ON
?' UPDATING USER NAME INFORMATION '
USE GALOG.PRO
APPEND BLANK
REPLACE USER WITH mname
CLOSE DATABASE
RELEASE ALL
?' 1. EXIT'
?' 2. PROGRAM '
WAIT TO WHERE
DO CASE WHERE
CASE WHERE = '1'
CANCEL
CASE WHERE = '2'
CLEAR
DO GAMAIN.PRO
OTHERWISE
QUIT
ENDCASE
ENDDO