Date field shows /OV

Kenneth Brody kenbrody at spamcop.net
Mon Jan 18 09:59:01 PST 2016


On 1/18/2016 11:52 AM, Robert T. Repko via Filepro-list wrote:
[...]
> I have a field (96) that has an mdy/ edit.  In input processing I
> populate it using @td (96=@td).  The filed shows /OV.  Below are
> copy/paste of the actual screen (top portion only).  I also show the
> results of @td in the debugger.  When I run the date commend from the
> shell I get the correct date.
>
> Top portion of the screen showing /OV in the date field:
[...]
> The results of @td using the debugger:
>
> Enter Field > @td*           |/OV     |
>
> Edit of field 96:
>
> Enter Expression >  edit(96)            * |MDY/|
[...]
> rsqunix /tmp # date
> Mon Jan 18 11:45:47 EST 2016
>
> What could cause /OV to appear when everything appears correct, I'm
> perplexed.

Two-digit-year date fields can only show a range of 100 years.  What is 
PFCMARK set to?  (If it's not set, then you can only hold the years 
1900-1999 in a 2-digit-eyar date.)

Another option -- use (10,mdyy/) and @T4.

-- 
Kenneth Brody


More information about the Filepro-list mailing list