Sytze de Boer wrote on 2013-06-18:
> Dave, as always, really appreciate your help
> However, this code made zero difference
> When I "enter" the form/grid, all dates are pre-populated with today's
date
> It is when they want to over ride the date (say from 19/6/2013 to
> 23/6/2013), thats when I want to just enter the 23, and the rest should
> follow (month and year)
>
>
>
> On Tue, Jun 18, 2013 at 7:09 PM, Dave Crozier <[email protected]>
wrote:
>
>> Sytze,
>> In the Date TextField put the following in the Gotfocus() Event
>>
>> if Empty(This.Value)
>> This.Value = Date()
>> keyboard "{backspace}"
>>
>> This.SelStart = 0
>> This.SelLength = 2
>> endif
>>
>>
Sytze,
Have you considered
IF THIS.Value = DATE()
THIS.SelStart = 0
THIS.SelLength = 2
ENDIF
Tracy Pearson
PowerChurch Software
_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message:
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the
author, and do not constitute legal or medical advice. This statement is added
to the messages for those lawyers who are too stupid to see the obvious.