Results 1 to 5 of 5
  1. #1
    New Lounger
    Join Date
    Nov 2003
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    File open dialoge (Access2000)

    I am trying to load a selection dialog box with a list of files with in a directory. I can't seam to find a simple way to provide the info and the put it into the additem for the dialog box. Can anyone help?
    Thanks
    Redbear

  2. #2
    Plutonium Lounger
    Join Date
    Dec 2000
    Location
    Sacramento, California, USA
    Posts
    16,775
    Thanks
    0
    Thanked 1 Time in 1 Post

    Re: File open dialoge (Access2000)

    Dialogs don't have an AddItem method. Are you talking about a listbox?
    Charlotte

  3. #3
    New Lounger
    Join Date
    Nov 2003
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: File open dialoge (Access2000)

    I am sorry, it was a combo box. I just want the user to see a list of the matching files to select from.
    Thanks for your interest

  4. #4
    Silver Lounger
    Join Date
    Jun 2002
    Location
    Cheadle, Staffordshire
    Posts
    2,177
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: File open dialoge (Access2000)

    <P ID="edit" class=small>(Edited by D Willett on 17-Feb-04 14:24. Added Form_Load Event)</P>RedBear

    Heres an example using the Common Dialog Control 6.0 (More Tools), and,
    "Microsoft Scripting RunTime" must be selected from the VB Editor: Tools|References.

    Study the code on the command button and slso check the properties of the
    combo box.
    I have set the "Rowsource Type" to "Value List"

    Hope it Helps
    Attached Files Attached Files

  5. #5
    New Lounger
    Join Date
    Nov 2003
    Posts
    3
    Thanks
    0
    Thanked 0 Times in 0 Posts

    Re: File open dialoge (Access2000)

    Thank you very much. I study your attachment and try to learn.
    Ben

Posting Permissions

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