Hi experts,
Please tell me
1.How to show systems time constantly updating?
I have tried with TIME function which is showing systems time, but it is not updating with the systems time.
2.I have created a form with three fields code1(code datatype), code2 (code), code3(code)
My question is when I type 'A' in the first field and 'B' in the second, then I should get 'AB' in the third field, is there any way to get.
Actually I got struckup with same kind of scenario
Help me out guys.
goood
0
Comments
So in your case I would think about adding a global variable 'MyTime', data type time, and set that as the 'SourceExpr' of a non-editable text box. Then in the OnTimer event, you program: and that should take care of it.
Depending on how accurate you want the time on your form to be, you can set this to any value you want, it is expressed in milliseconds.
RIS Plus, LLC
You can either use the Forms own OnTimer() event or the Navision Timer automation controller. I would go for the later.
Create a text variable to hold the time and place a text box with this as the Source Expression: e.g., CurrentTime
Create an automation type variable which points to the Navision Timer 1.0 automation controller: e.g., Timer
Make sure you set the WithEvents property on the automation variable to Yes
Initialise your time and display:
Place this code on the Timer::Timer(Milliseconds : Integer) trigger
In the example above, the clock will update every second. Change the interval to whatever you require.
www.NextEqualZero.com
A technical eye on Dynamics NAV
RIS Plus, LLC
http://www.mibuso.com/dlinfo.asp?FileID=402
http://www.BiloBeauty.com
http://www.autismspeaks.org
it is numbered - form 50100 and unless you purchased extra forms beyond the first 100 that you can't open it up. and if you are not a developer then you can not edit the text file and change the number to one you can use
and if you are like me and forgot that, and downloaded it, now you can not just delete it either, because you don't have premission to access it.
reading the description it says it is
This analog clock is build in obect F 50010
but it is actually 50100 not 50010
ops,
Thanks for pointing that out, in a subtle way ;-)
I have changed the description. Will modify the object in a lower range, if you insist.
Don't think it's complictiong things - Both methods I think are viable though
Using the Navision Timer gives you a bit more control and scope to expand the functionality in the future if required.
www.NextEqualZero.com
A technical eye on Dynamics NAV
Don't know how many people will want/use it but to make life easier I think the fob should be changed to form 50088 or something. tho the text file does show you what you need to do to make your oen form.
http://www.BiloBeauty.com
http://www.autismspeaks.org
the end user form designer only allows you access to change how thing appear. but doesn't allow access to cal/code.
without application designer, the only place you can get to cal/code is in reports and dataports
create new text box for timer, named it txtTime
create new variable timer as time
open property form, set TimeInterval = 1000
then in OnTimer trigger form, type this :
timer := time;
CurrForm.txtTime.UPDATE;
it will not affect on other objects in the form..
and will do correctly..