Consulting

Results 1 to 5 of 5

Thread: Solved: Employee Forms Northwind

  1. #1
    VBAX Regular
    Joined
    May 2004
    Posts
    42
    Location

    Solved: Employee Forms Northwind

    I am trying to duplicate the function in the Northwind DB in the Employees form. Specifically the GetFilename function. The form works fine in the Northwind DB but when I bring it over to my DB it errors out on msoFileDialogFilePicker. It says variable not defined. I do not see that the variable is ever set. I may be too frustrated at this point to see it.

  2. #2
    VBAX Newbie
    Joined
    Oct 2004
    Posts
    1
    Location
    You may be missing a reference. Check what references are used in the Northwind DB and make sure they are also in yours. You do this while viewing a module, select the Tools menu and click on References.

  3. #3
    Site Admin
    Jedi Master
    VBAX Guru Jacob Hilderbrand's Avatar
    Joined
    Jun 2004
    Location
    Roseville, CA
    Posts
    3,712
    Location
    msoFileDialogFilePicker is part of 2002 and up. What version do you have?

  4. #4
    VBAX Regular
    Joined
    May 2004
    Posts
    42
    Location
    That might be it. I am running 2002 but the database defaults to 2000 when it is created. The problem now is that I need it to run on 2000 and not 2002.

  5. #5
    VBAX Tutor SJ McAbney's Avatar
    Joined
    May 2004
    Location
    Glasgow
    Posts
    243
    Location
    Why do you need it to run on A2000 and not A2002? If you have A2002 installed then it would make sense to convert any A2000 to A2002 as you can then compile the A2002 database into an .MDE which you can't with A2000 databases (in A2002).

Posting Permissions

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