Date Format

njaikunjaiku Member Posts: 116
Hi,
If i have a field in the form like Monthoff (MM/YYYY)

In this field i must allow the user to enter in this format (MM/YYYY).

I have a doubt , whether this field is to be Date datatype or any other
datatype. Moreover where should i do the coding
_________________
Jai
Jai

Comments

  • kinekine Member Posts: 12,562
    It will be Text or Code type. You need to add some code into OnValidate to check the format, and you can limit which characters can be entered through CharAllowed property.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • diptish.naskardiptish.naskar Member Posts: 360
    Based on the requirement, I don't thik that you can mark this field as Date datatype, you can use code datatype for this, but you have to write some code to check the data entered by the user is in the right format or not.
    Diptish Naskar
    For any queries you can also visit my blog site: http://msnavarena.blogspot.com/
Sign In or Register to comment.