# Re: 如何把 MaskEditBox 初始化 ?

Posted by 纪文和 on June 27, 1998 at 00:00:24:

In Reply to: 如何把 MaskEditBox 初始化 ? posted by 普罗米修斯 on June 26, 1998 at 10:03:31:

: 在一个用作输入资料的表单中, 某些栏位使用了 MaskEditBox , 当记录更新后, 在不关闭表单的情况下再 addnew 时, MaskEditBox 会仍然保留有上次输入的资料,请问该如何把它初始化 ?
: MaskEditBox1 = ""及 MaskEditBox = Null 皆传回错误.

其实,只要您把 'PromptInclude" 属性设成 False 即可.
例如 Mask="##/##/##" , PromptInclude = False ,
则 MaskEdBox1 = "", MaskEdBox1=" ",
MaskEdBox1 = " / / " 都是正确的.

Follow Ups: