Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
@get displaying first 2 digits for year
Message
From
07/09/2005 23:39:49
 
 
To
07/09/2005 23:25:22
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
01047568
Message ID:
01047591
Views:
7
I tried it. It's the font. I don't remember how to specify the font and/or size of the get field, but that's your problem.

PF


>Try the following in your command window:
>
>
>SET CENTURY OFF
>ldTest = DATE()
>@1,1 GET ldTest
>
>
>
>
>>>The @get is displaying the first 2 digits for the year with set century off.
>>>We are seeing 20 instead of 05
>>>
>>>Is there a work around for this problem.
>>>
>>>We don't have the time right now to rework all the code and change all the screens to forms.
>>
>>I would say that you have SET CENTURY ON, even if you think otherwise - check with the debugger.
>>
>>In Visual FoxPro forms, each form can have a "private datasession"; meaning that an option like SET CENTURY can be ON in one form, and OFF in another, and have to be set in each individual form (if you use private datasessions). I don't think this should apply to screens ported from old FoxPro, but it may be a thing to check.
>>
>>You may also want to check the picture and size of the GET element.

(On an infant's shirt): Already smarter than Bush
Previous
Reply
Map
View

Click here to load this message in the networking platform