Report Request Form lock cursor into field

CobaltSSCobaltSS Member Posts: 137
Hi,

I have a report where the users "scan" the info into a field on the Request Form to use as a filter. Occasionally, due to user carelessness, the cursor is moved out of the Request Form field. Then the next time the report is run the users needs to stop the scanning process to manually click into the field.

I would like to be able to "lock" the cursor into the Request Form field, so that every time the report is opened the cursor is always in that field.

This is not a field on the options tab, but a field in the data item.

Any help greatly appreciated.

cheers,

Answers

  • DaveTDaveT Member Posts: 1,039
    Hi CobaltSS,

    I don't think you can do this in the data item tab(s). You could however put the field on the request form (options tab) and control it with setting the ActiveControlOnOpen and NextControl properties to put the user back into the required field. Then in the onpredataitem just set the filter with C/AL code.

    Hope this helps
    Dave Treanor

    Dynamics Nav Add-ons
    http://www.simplydynamics.ie/Addons.html
  • CobaltSSCobaltSS Member Posts: 137
    Hi Dave,

    Thanks for the reply. I had thought of that as well, but was hoping there was a simpler way.

    cheers,
Sign In or Register to comment.