setting date using a slash (/)

Jeff Harrison jeffaharrison at yahoo.com
Wed Jun 10 09:33:23 PDT 2009


--- On Wed, 6/10/09, Richard Kreiss <rkreiss at gccconsulting.net> wrote:

> From: Richard Kreiss <rkreiss at gccconsulting.net>
> Subject: setting date using a slash (/)
> To: filepro-list at lists.celestial.com
> Date: Wednesday, June 10, 2009, 10:50 AM
> Is there a way to capture the fact
> that a slash was used to enter a date.
> 
> I have a process that will force any date entered into the
> field to be
> posted to a record as the last day of the month.  In
> the case where a slash
> is used, the date need to be the current date.  So, I
> need to know is a
> slash was used.
> 
> I tested @sk = "/" but it appears that the expansion takes
> place before @sk
> captures the key stroke.
> 
> Any suggestions.
> 
>  

Hi Richard.  I assume you are doing your processing when leaving a field that you have defined as a date field.  One obvious answer would be to not define it as a date, but instead use an dummy field defined with a "*".  You can then check for a slash and do any other processing that you need - when you are done, just move the contents into your real date field.

Good Luck.

Jeff Harrison
jeffaharrison at yahoo.com


  


      


More information about the Filepro-list mailing list