"SET CENTURY ON"

When you "set century on" at the DBASE IV dos prompt, how do you make it stay on when you exit out of DBASE?
RodackAsked:
Who is Participating?
 
bsimserCommented:
In a nutshell, you don't. It only exists inside the DBASE environment and affects databases used during that session.
0
 
RodackAuthor Commented:
Edited text of question
0
 
RodackAuthor Commented:
If this is the case, would you have to write this command into any source code that uses Date references in running reports out of Databases so that it turns on each time you try to run a report that initializes by date? ex:  A sales report over a certain period.  "12/01/1997" to "01/01/1998", but the database that holds this data does not have century on because it turns off every time you shut down.  Currently our source code variable only has 6 digits for dates, but we will soon be changing it to 8. Our problem is that we need the databases to maintain the 8 digit date span. "FOR Y2K"(year 2000):-)

0
 
jacsCommented:
You must change the config.db using the General/Set Century option of the DBSETUP.EXE
0
Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.

All Courses

From novice to tech pro — start learning today.