Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Invalid Date in VFP 5.0 1

Status
Not open for further replies.

harryjr

Programmer
Jan 4, 2001
27
US
I have directly converted an Application (originally written in FPD, converted to FPW2.6, then to VFP 3.0) to VFP 5.0 -- NOTE: I did not change any of the procedure Commands unless absoultely necessary (no object programming). There are no SCREEN or FORM FILES. All screen commands are hard coded. On one of the App screens
several DATE fields appear and are edited. My problem is that the VFP5.0 App generates an "INVALID DATE" error as soon as the cursor enters the FIELD and no EDITING or EXIT from the FIELD is possible (ie., program hangs up). Any ideas?
 
Cut that code segment from the program and post it so we can see it David W. Grewe
Dave@internationalbid.com
ICQ VFP ActiveList #46145644
 
Perhaps its a format code or input mask causing the problem. I doubt it will make any difference but you could try SET CENTURY ON. Above all else, post the snippet and let us have a looksey. It might be something really simple.

-Pete
 
Pete,

I've moved on (rewrote the problem area using character memvars) at the clients insistence. Hope to revisit the problem later. I still believe the problem is not one of COMMAND SYNTAX but rather one of VFP5 (somehow) not recognizing the DATA in the Table when the Application
is compiled into an EXE. I cannot duplicate the
error from the COMMAND LINE - even using the data from the Table.

Thanks for your response.

Harry
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top