Changing the default location of data export

asmilie2b
asmilie2b Member Posts: 122
We use only non administrator accounts for our NAV users. Inside Navision when doing a data export, it always defaults to c:\ for the export location, and of course without administrator rights it can't be saved there. This means the cumbersome (for non savy users) of needing to copy and paste another folder location in. Then even trying to rexport straight away, it reverts to
Is it possible to change the location that Navision exports to permanently?

Bruce

Bruce Anderson

Comments

  • pruday
    pruday Member Posts: 11
    Dataport -> Property -> FileName
    Uday
  • asmilie2b
    asmilie2b Member Posts: 122
    Pruday,

    Many thanks for the reply. Do you mean from within the actual dataport itself? I don't see any properties there. Of course there is the filename and browse function, however that is what doesn't remember the last saved location.


    Bruce

    Bruce Anderson
  • pruday
    pruday Member Posts: 11
    You will have to go into Design the DP to set the property.
    Uday
  • Dries
    Dries Member Posts: 29
    Hi,

    Go to the object designer, open your dataport in design mode and then place the cursor under the last DataItem (empty dataitem) and put the the filename in the FileName property.

    i.e.: C:\my folder\myfilename.txt

    Success.
    Idriss.
  • asmilie2b
    asmilie2b Member Posts: 122
    I realize that it is actually a report, not dataport that I need to change the saving location of.
    I tried the same process for reports, but FileName is not something in the table list.
    Would if anyone have any advice ?

    Bruce Anderson
  • Savatage
    Savatage Member Posts: 7,142
    view the code of the report - if it's exporting data to a file it must be declared somewhere.

    something like
    ThisFIle.TEXTMODE(FALSE);
    ThisFile.CREATE('c:\Hi_MOM.txt');
    ThisFile.CREATEOUTSTREAM(Stream);
  • asmilie2b
    asmilie2b Member Posts: 122
    Many thanks for that.

    Bruce Anderson