Local Printing with GoToMyPc and a 2nd question on Inputing Dates

Kenneth Brody kenbrody at spamcop.net
Tue Aug 24 12:41:09 PDT 2010


On 8/24/2010 3:11 PM, George Simon wrote:
> Perhaps this will suffice.
>
> Get the location of the date field on the screen, let's say it is 4,7
> Then add this code to @wef
>
> @wef1  ◄ If: 1 ne ""
>         Then: end
>    4  -------   -   -   -   -   -   -
>         ◄ If:
>         Then: yr(4,.0)=mid(@t4,"7","4")
>    5  -------   -   -   -   -   -   -
>         ◄ If:
>         Then: show("4","11") yr
>    6  -------   -   -   -   -   -   -
>         ◄ If:
>         Then: end

Wouldn't you be better off with:

     1 = "    " & yr

instead of your SHOW?

And, if you're going that far, why not just pre-fill the field with today's 
date in its entirety?

[...]
>> Also, I have a field mdyy/ in a standing file. During input
>> I'd like to enter just the mmdd and have fp fill in the
>> current year. Currently I use an INPUT command over the
>> actual field, and have processing determine the current year
>> and add the yyyy to the input variable, then make the real
>> field equal to the variable. Is there a simpler way to do this?
[...]

-- 
Kenneth Brody


More information about the Filepro-list mailing list