Hi all,
I have an issue when importing records from the MSSQL database to NAV.
I have 2 fields namely Start Date and End Date in my sql table.
On NAV, i want to input the Start Date and End Date on my card form which will display transactions made within that date range on the push action of command button('Import').
Please help
Thanks
Liizz
0
Comments
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Let's say:
Start Date:02/04/2012 ; End Date:06/04/2012.
I should have obtained data within this particular date range.
Thanks
Liizz
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
But the BStartDate and BEndDate in sql is of datatype datetime.
On NAV, I want to input the date in the following format dd/mm/yy.
This is why I am having this issue about incorrect syntax near the year.
Please advise how to solve it out.
Thanks
Liizz
http://www.w3schools.com/sql/func_convert.asp
-Mohana
http://mohana-dynamicsnav.blogspot.in/
https://www.facebook.com/MohanaDynamicsNav
Thanks
Liizz
I do not want to change the datatype of the EndDate in SQL table.
It would been more appropriate to handle this change to dd/mm/yy in NAV itself.