SendKeys Not Working in Pages

nav_rksaurabhnav_rksaurabh Member Posts: 11
edited 2012-05-19 in NAV Three Tier
Hello Everybody,

I am using sendkeys in classic for assigning lot automatically using select entries functionality. It's working fine in classic but not working in RTC(for pages).
I have changed the keys as per page in SendKeys{...} but then also no effect.

Can somebody pleas help in this.

Thanks.
Regards,
rksaurabh

Answers

  • EgnazEgnaz Member Posts: 111
    HI,

    do you have set the automation to run on client? Classic Client doesn't work over the middle tier so this is not important but RTC uses the middle tier server and so you have to define the automation to run on client.
    Create(someAutomationVariable,True/False(New Server),True/False (Run on Client));
    

    Edit:
    Definition:
    Creating an variable of type OCX will instantiate it to run on the machine that runs the client, this is also valid for RTC.
    If you wish to create an automation object that is goind to run on the client machine, you must use the method that takes tree arguments.
    Where the last argument determines where the automaiton object will be created. True = Client and False = Server.
    

    Maybe this helps. Kind regards
    Egnaz
Sign In or Register to comment.