You are here:

FoxPro/my account is expire


hello sir
i use foxpro2.6 my account is not accept new year date
exme 01-01-2013 if i put the data not accept (invalid input) massege how can i use in this year please help me


  Without being able to see the program that you are trying to use, I cannot be sure of the problem, but it is most likely that the date entry is expecting something other than what you are entering.  

First look at the entry field, will it accept a 4 digit year?

If so, make sure you are entering all four digits in the right place.

If only accepts two digits, it is most likely that the year ("13") is being entered into a position which the date setting expects to be a month, instead of the year, so it's invalid.

For example:  If you cannot enter today's date as 01-08-13, try entering  13-01-08

There is a "SET DATE" command that can change the expected order.

Also, if you type the following command, it will show what order it expects:


It will print a country, such as: "AMERICAN" "BRITISH" "GERMAN"
or it will print an actual format, like: "YMD" "MDY" "DMY"

American is MDY (Month,Day,Year)
British is DMY  (Day,Month,Year) [so is much of Europe]

Good Luck,


P.S. Please enter a rating just so you can use the COMMENTS to let me know if it worked out.  
I'm far more interested in knowing if it helped than in the rating system.


All Answers

Answers by Expert:

Ask Experts


Fred Frase


Questions about development only. No installation or hardware specific questions, please. Your first step in requesting assistance should be to identify the version of FoxPro you are using. I can write short functions but, PLEASE do not ask me to write programs for you.


Nearly 30 years professional programming experience using FoxPro (FoxBase through VFP 9) or other xbase language, primarily in Windows environments.

Completed a 1,000 hour diploma course in programming at International Academy of Ohio (subsequently merged with Southern Ohio College).

©2017 All rights reserved.