>>>Good Morning!
>>>
>>>Just trying to figure something out....
>>>
>>>In a textbox, a birthday is showing up this way.....
>>>
>>>11/24/51
>>>
>>>I would like it to show as 11/24/1951...
>>>
>>>and I tried some Format options to no avail.
>>>
>>>What would you suggest?
>>>
>>>Thanks!
>>
>>Set CENTURY on?
>
>Thanks... I forgot about that setting....
>
>I went and wrote some code in the INIT of the form to save the setting to
>
>
>Thisform.p_CenturyOnOff = SET("CENTURY")
>SET CENTURY ON
>
>
>
>and in the m_close method at the end I wrote...
>
>
>goTbrFuncToolBar.enabled = .T.
>goTbrSideBar.enabled = .T.
>SET CENTURY &Thisform.p_CenturyOnOff
>
>Thisform.release()
>
>I get a syntax error on the SET CENTURY &Thisform.p_CenturyOnOff
>
>so I changed that to SET CENTURY Thisform.p_CenturyOnOff
>
>and still get a SYNTAX error..... sigh.... what am I overlooking.... ??
>
>Thanks!
I figured it out....
new code in m_close
LOCAL lcCenturyOnorOff
goTbrFuncToolBar.enabled = .T.
goTbrSideBar.enabled = .T.
lcCenturyOnorOff = Thisform.p_CenturyOnOff
SET CENTURY &lcCenturyOnorOff
Thanks William!
Thisform.release()
Tommy Tillman A+ NetWork+ MCP