Hi Gustavo!
>Hi guys!
>I'm trying to figure out how to show just the date portion of a datetime field on a form (what properties do I have to set up to strip out the time portion?). It has to be editable also (just the date portion).
>Any quick help?
>Thank you
>Gustavo Schweitzer
Try this code in your TextBox's Init method:
this.InputMask = []
this.Format = [D]
this.StrictDateEntry = 0
this.Width = 66
this.NullDisplay = [ / /]
IF EMPTY(this.ControlSource);
AND TYPE([this.Value]) <> [D]
this.Value = {}
ENDIF
I hope this help you!
Bye!
Erick
Força Sempre!
Strength Always!