>Working with VFP 5.0 if I use 'Default session' I get the year from
>1930 to 2029 when I introduce a date in the format dd/mm/yy.
>But when I use the same text control in a form with 'Private data session' it does not run.
>I have tested with 'set century', 'set century to 19 rollover 30', etc. and I get 19xx or 20xx.
>Is there anything to avoid the four digits when typing the year?
When using private data sessions a number of environment setting are overridden by the data session and set to the default settings. SET CENTURY is one of these. You probably need to SET CENTURY again within your form. I issue all the set commands to set my environment in the Load event of my base form class. See the SET DATASESSION help topic for a list of settings overridden by private data sessions