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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Migration help!

Status
Not open for further replies.

agbtech

Technical User
Nov 11, 2005
27
US
I am in the process of preparing to do a minimalist migration of several applications from 2.6 to VFP 9 so that we can be using a 32-bit app while we wait for re-writes to another language.
Rather than relying on default values I want to set the following appropriately: CPDIALOGUE, STRICTDATE, DEVELOPMENT. Does anyone know the settings that will work with 2.6 and if there any other initial settings I need to set for the migration to proceed smoothly?
Thanks to all.
 
Agbtech,

I'm not sure I understand what you are asking.

Are you asking for the settings of SET CPDIALOG, etc, that will work equally well under 2.6 and VFP? If so, the answer is none. Both CPDIALOG and STRICTDATE are VFP-specific, and will generate an error under 2.6.

As for SET DEVELOPMENT, I've always left it at its default setting in both systems. As far as I recall, it's only an issue if you are using an external editor.

If I've misunderstood your question, my apologies.

Mike


__________________________________
Mike Lewis (Edinburgh, Scotland)

My Visual FoxPro site: www.ml-consult.co.uk
 
Thanks so much and yes, myearwood got the questions. Is there a problem with codepages, strictdate default settings if you compile old 2.6 code and build an executable in VFP?
Didn't know about enginebehavior, thanks for that!
 
You might also want to SET TABLEVALIDATE TO 0 until you have time to learn and deal with all that it does. I'd definitely turn off STRICTDATE -- your FPW code almost certainly won't be STRICTDATE-compatible.

If you never needed to deal with codepages before, you don't need it now either. SET CPDIALOG OFF.
 
I interpreted his question to mean what settings have to be made in VFP9 to help a FP2.6 app run with few changes.

Mike Y: On re-reading the question, I would agree.

On that basis, I would add:

SET TABLEPROMPT OFF

and possibly:

_screen.Themes = .F.

and:

ON KEY LABEL CTRL+0 && prevents user entering nulls in data entry fields.

Mike

__________________________________
Mike Lewis (Edinburgh, Scotland)

My Visual FoxPro site: www.ml-consult.co.uk
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top