You are here:

FoxPro/my account is expire

Advertisement


Question
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

Answer
Manka,

  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:

? SET("DATE")

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,

Fred

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.

FoxPro

All Answers


Answers by Expert:


Ask Experts

Volunteer


Fred Frase

Expertise

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.

Experience

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

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

©2016 About.com. All rights reserved.