Learn how to a build a cloud-first strategyRegister Now

x
  • Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 633
  • Last Modified:

"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?
0
Rodack
Asked:
Rodack
  • 2
1 Solution
 
RodackAuthor Commented:
Edited text of question
0
 
bsimserCommented:
In a nutshell, you don't. It only exists inside the DBASE environment and affects databases used during that session.
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

Featured Post

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

  • 2
Tackle projects and never again get stuck behind a technical roadblock.
Join Now