Request Form and dataport

kangal74kangal74 Member Posts: 15
Hi

I begin in Navision, and i need to make a dataport with only a request form.( i don't want to see the classic selection item)
In my request form , i have a control with Item."No." like sourceexp.
And i want export only the item selected in the request form.
I don't know , where i need to make the relation between the control of request form and the " classic selection" .
Thanks for your help.

Kangal74

Comments

  • SavatageSavatage Member Posts: 7,142
    I think I can follow you....
    I will assume you are dealing with the Item table
    and you want to export 1 item.
    that 1 item # will be entered into a box on a request form..
    if this is the case...

    Create a Variable type CODE ...call it MyItemNo or something
    on the Request Form Add a Textbox with SourceExp as MyItemNo.

    OnPreDataItem() of the Dataport
    SETFILTER("No.",MyItemNo);

    dataport properties Import=No
    Filename = c:\test.txt

    if you don't have a code already to specify a filename & location
  • kangal74kangal74 Member Posts: 15
    I try all , and i tell you.
    thanks .

    kangal74
  • jlandeenjlandeen Member Posts: 524
    One other pointer I think you may need to get this to work. From the sounds of your request it sounds like you only want the Options tab form to be visible and there to be no data item filter screen.

    To hide the Item's filter screen you must make sure that the Item's ReqFilterFields is "UnDefined" and DataItemTableView MUST be set to an appropriate key. This will then prevent the Item's filter screen from being shown and then only the Options tab will be visible when you run the report.
    Jeff Landeen - Sr. Consultant
    Epimatic Corp.

    http://www.epimatic.com
Sign In or Register to comment.