Accessing a file on the database sever

atankersleyatankersley Member Posts: 32
edited 2008-02-05 in Navision Attain
I am trying to import a picture on the fly into a picture box on the item card. If the file is on my client it works fine. I don't want to put the file of pictures on every client. I would like the file path to point to a file on the server that runs the database. Is there any special way that navision can bypass the client in code access the database server.
tank

Comments

  • kinekine Member Posts: 12,562
    if you use filename in UNC form it will be client independent. You need to use something like \\<servername>\<sharename>\<foldername>\<filename>
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • SavatageSavatage Member Posts: 7,142
    On your other post about getting the pic on the fly..
    My P drive is a mapped network drive to the database server. It also could be a a seperate server too. the difference between Kines smooth way and setting an actually LETTER is that you physically have to go to each client and map the network drive to the same letter on every computer..

    Where were you 4 years ago when I needed a clean way, kamil :lol::lol:
  • kinekine Member Posts: 12,562
    Where were you 4 years ago when I needed a clean way, kamil Laughing Laughing

    I started to read Mibuso... ;-)
    Kamil Sacek
    MVP - Dynamics NAV
    My BLOG
    NAVERTICA a.s.
  • krikikriki Member, Moderator Posts: 9,115
    kine wrote:
    Where were you 4 years ago when I needed a clean way, kamil Laughing Laughing

    I started to read Mibuso... ;-)
    And now he is THE topposter! =D> =D> =D>
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


Sign In or Register to comment.