Solved

"SET CENTURY ON"

Posted on 1998-09-04
4
607 Views
Last Modified: 2013-11-24
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
Comment
Question by:Rodack
  • 2
4 Comments
 

Author Comment

by:Rodack
ID: 1025636
Edited text of question
0
 
LVL 1

Accepted Solution

by:
bsimser earned 10 total points
ID: 1025637
In a nutshell, you don't. It only exists inside the DBASE environment and affects databases used during that session.
0
 

Author Comment

by:Rodack
ID: 1025638
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
 

Expert Comment

by:jacs
ID: 1025639
You must change the config.db using the General/Set Century option of the DBSETUP.EXE
0

Featured Post

Online Training Solution

Drastically shorten your training time with WalkMe's advanced online training solution that Guides your trainees to action. Forget about retraining and skyrocket knowledge retention rates.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Azure Functions is a solution for easily running small pieces of code, or "functions," in the cloud. This article shows how to create one of these functions to write directly to Azure Table Storage.
This article shows the steps required to install WordPress on Azure. Web Apps, Mobile Apps, API Apps, or Functions, in Azure all these run in an App Service plan. WordPress is no exception and requires an App Service Plan and Database to install
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
The viewer will learn how to use a discrete random variable to simulate the return on an investment over a period of years, create a Monte Carlo simulation using the discrete random variable, and create a graph to represent the possible returns over…

733 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question