Hi ya'll and a Happy New Year!
I'm relatively new to NAV. So far mibuso.com has been a great help in many of my NAV related questions/problems the last months. Thank you very much for this great place :thumbsup: .
I'm stuck with a problem trying to make the RTC communicate with the local COM-Port. My stuff works just great on CC, but on RTC-mode the service tier ruins my day #-o . Is there any way I can sort of outflank the service tier
- in order to communicate directly with the the local serial port/device?
Would be grateful for any advice or suggestions.
Ron
Answers
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
It's for a scale connection on the client side. Right now I'm using a tyre tread depth gauge for test pruposes. Shouldn't make that much of a difference. Just want to get the com data directly from the client's com port and not that of the server, which is the case when connected to the service tier.
Yes, the COM object is instantiated. But when implemented in a page it references the com port of the server where the service tier runs and not the com port of the client. It works well on a classic client since the it references the com port of the client to which the device is connected.
I'm using mscomm32.ocx, btw. Is there any way to make a page act like a form in certain scenarios? Like when connecting hand scanners or scales to a Role Tailored Client? To me, it looks like Microsoft didn't think of these pretty common scenarios when designing the RTC :-k
Thanks,
Ron
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
Microsoft - Dynamics NAV
I'm most probably gonna have to provide a .NET solution for the issue.
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n
back at work with good news. Thanks Rashed! Just for those interested, the CREATE Function(Automation) does now offer the following parameter:
[Ok :=] CREATE(Automation [,NewServer] [,OnClient])
The following instantiation solved my problem:
CREATE(Automation, FALSE, TRUE) //wherein TRUE stands for create obj. on client.
Cheers! =D>
Ron
Independent Consultant/Developer
blog: https://dynamicsuser.net/nav/b/ara3n