Dear folks, I need to compare a date with a date field but I've problems. Simply, in a form, oncloseform, i want to compare "Order Date" field with 12/10/12 date. If "Order Date" field is< than this date you can go out the form, else show a message. How can I do it, please?.
Thaks for help.
0
Comments
Hope this is what you are looking for..
Let me know if this is what you were looking for.
In above form i created a new form based on table 39 and on close form i have written below piece of code..
Thanks & Regards,
Saurav Dhyani
Do you Know this About NAV?
Connect - Twitter | Facebook | Google + | YouTube
Follow - Blog | Facebook Page | Google + Page
How easy when you know it!!! Thanks for help!!.
Thanks & Regards,
Saurav Dhyani
Do you Know this About NAV?
Connect - Twitter | Facebook | Google + | YouTube
Follow - Blog | Facebook Page | Google + Page
onquerycloseform
this will prevent form to be closed, so you don't need to re-run it. And all scope (globals) would also remain unchanged until condition is met and form is closed.
MVP - Dynamics NAV
My BLOG
NAVERTICA a.s.
What was the root problem that makes you want to do this?
Perhaps if we understand WHY, we can offer a better solution.
Is it a posting date problem?
Or are you trying to deal with older orders from being forgot?
http://www.BiloBeauty.com
http://www.autismspeaks.org