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
0
Comments
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
http://www.BiloBeauty.com
http://www.autismspeaks.org
http://www.navision24.de/tutorials/request-form-eines-dataports-selbst-gestalten.html
thanks .
kangal74
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.
Epimatic Corp.
http://www.epimatic.com