I tested in 2.60 and 3.60 and the format seems to correspond to the Windows country settings???
If that's really true:
:evil:
](*,)
:sick:
it's easy: 8)
this is from the Navision help:
Entering Dates
How you enter dates depends on the settings that have been selected in the Regional Options window in the Windows Control Panel. You can enter dates with or without separators.
@Todro
The help for this is for a user and not for a developer. The application designers guide:
date constant A date constant is written as six or eight digits followed by
the letter "D" (the date constant expressing "undefined date" is, however,
entered as "0D"). The digits specify the date in the format MMDDYY or
MMDDYYYY.
@Todro
The help for this is for a user and not for a developer. The application designers guide:
date constant A date constant is written as six or eight digits followed by
the letter "D" (the date constant expressing "undefined date" is, however,
entered as "0D"). The digits specify the date in the format MMDDYY or
MMDDYYYY.
well, try to use the wrong format in the editor and navision will redirect you to the online help You are right with the documentation but as this never (at least back to version 1.3) worked differently in the past versions, I consider the ADG being wrong.
Everytime you work in a different regional settings environment, you will see that navision is changing the text constants. I treat this as expected behaviour
...You are right with the documentation but as this never (at least back to version 1.3) worked differently in the past versions, I consider the ADG being wrong.
Everytime you work in a different regional settings environment, you will see that navision is changing the text constants. I treat this as expected behaviour
Well they ixed the CALCDATE forumual with a good solution. Personally I would like to see something like:
<20070828D>
as the constant in the editor.
I remember back when I did my first Navision implementation in Hungary, and my first reaction was "Hey this country got the dates right".
...You are right with the documentation but as this never (at least back to version 1.3) worked differently in the past versions, I consider the ADG being wrong.
Everytime you work in a different regional settings environment, you will see that navision is changing the text constants. I treat this as expected behaviour
Well they ixed the CALCDATE forumual with a good solution. Personally I would like to see something like:
<20070828D>
as the constant in the editor.
I remember back when I did my first Navision implementation in Hungary, and my first reaction was "Hey this country got the dates right".
I second this thought, this would be the right way. But as we all know: navision is not sold by development goodies
Comments
GLBudgetEntry.SETRANGE(Date);
that way there is not filter.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Oh and if your goal is to remove the date filter, then follow Rashed's advice.
RIS Plus, LLC
Isn't it
But really Ahmed's suggestion is the correct one.
but the correct one must be
Thanks a lot for your inputs....!!!
I tried GLBudgetEntry.SETRANGE(Date,0D,31129999D);
I think for NAV 4.0 SP3, the date format Month-Date-Year works.
This works perfectly fine.
Thanks a million to all u guys
If that's really true:
:evil:
](*,)
:sick:
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!
this is from the Navision help:
MCP+I, MCSE NT, Navision MCT (2004,2005)
I will use your way from now on.
@Todro
The help for this is for a user and not for a developer. The application designers guide:
No that's not the correct solution. The correct solution was the first reply:
Everytime you work in a different regional settings environment, you will see that navision is changing the text constants. I treat this as expected behaviour
MCP+I, MCSE NT, Navision MCT (2004,2005)
Well they ixed the CALCDATE forumual with a good solution. Personally I would like to see something like:
<20070828D>
as the constant in the editor.
I remember back when I did my first Navision implementation in Hungary, and my first reaction was "Hey this country got the dates right".
MCP+I, MCSE NT, Navision MCT (2004,2005)