Results 1 to 2 of 2
  1. #1
    Join Date
    Jul 2004

    Unanswered: Common directory for files and folders

    Hello gals and guys:

    I have an employee information form where it displays a picture. Without getting too much into how I have it setup, I'd like to be able to designate a directory inside the folder that the database file is in for the location of the employee pictures. And, of course, I don't want to store all these pictures in the database because there will be a great number of employees.

    For example, for whatever directory the database is in, I'd like to have the user (or programmatically) place all employee pictures into a "Pictures" folder within the directory. But since I don't know exactly where they will install the database and to give them freedom of where to place the database folder, I need to know a method of finding the folder that's one level down from the database folder.

    Whether it is C:\Program Files\Database\Pictures\ or E:\BunniesHaveFloppyEars\Database\Pictures\ or whatever, I'd need it to always point to \Pictures\.

    If someone can help, I'd greatly appreciate it!!! Thanks!

    The teachings of God's Begotten: 2 John 1:9

  2. #2
    Join Date
    Mar 2003
    The Bottom of The Barrel
    Provided Answers: 1


    to return the working directory, then tack on your pictures directory.

    Application.CurrentProject.Path & "\Pictures\"
    oh yeah... documentation... I have heard of that.

    *** What Do You Want In The MS Access Forum? ***

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts