Fill The Table Field(within Time Period)

jjmmss1jjmmss1 Member Posts: 32
I want to create a table field that accept value in In Some Time period.
I want to say that someone can put the value in the field(which I mentioned) int between 10.00A.M to 10.00PM

How can I do?

Comments

  • krikikriki Member, Moderator Posts: 9,118
    The fields have properties MinValue and MaxValue. Check those.
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • girish.joshigirish.joshi Member Posts: 407
    Or do you mean you want to give the user a certain amount of time to fill in a field?

    Like -- fill in this field in five seconds or Navision is going to explode?

    That's possible too.

    A couple different ways to do it. But my answer is to set a field with the Initial DateTime you are counting from and in the validation trigger compare that date time with the system datetime.

    I'm not going to tell you how to make Navision explode because kriki will probably move this post to another forum :D . Read the documenation, it will help :D
  • girish.joshigirish.joshi Member Posts: 407
    jjmmss1 wrote:
    How can I do?

    I can't speak for everyone, but I consider this a very rude way to ask a question on here.

    Since I already gave you one piece of good advice in this thread, I'll give you another: think about your questions/way of asking/answers and how it contributes to the community before writing anything.
  • kinekine Member Posts: 12,562
    jjmmss1 wrote:
    How can I do?

    I can't speak for everyone, but I consider this a very rude way to ask a question on here.

    Since I already gave you one piece of good advice in this thread, I'll give you another: think about your questions/way of asking/answers and how it contributes to the community before writing anything.

    May be that problem is just in the language - we are not everyone english native speakers and it can be very difficult to write some question. In this case people are using just simple sentences with simple words.
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • kinekine Member Posts: 12,562
    jjmmss1 wrote:
    I want to create a table field that accept value in In Some Time period.
    I want to say that someone can put the value in the field(which I mentioned) int between 10.00A.M to 10.00PM

    How can I do?

    If you mean, that this field can be filled just in some period of time, you will need to add some check into OnValidate of this field. In this trigger you can check the current time and if you are out of the period, call the Error...
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
Sign In or Register to comment.