I need to set this edit mask 19~05-#### to a datawindow string column through script.
In design mode i can set the same edit mask 19~05-#### and it works fine but when i try to set it in power script then this edit mask 19~05-#### crashes my app.
This is how i check the mask in code:
theMask = dw_1.Describe("Document_Number.EditMask.Mask")
dw_1.Object.Document_Number.EditMask.Mask = theMask
Describe function in above line returns correct edit mask i used in design mode of DataWindow but modifying same edit mask generates run-time error.
Please note that there is ~ in the edit mask. That i used to make 0 no meaning other than just a zero. That works and in edit field a space is not shown instead of 0.
Is there someone who has knowledge and help me to fix that problem?