Using the Microsoft Office File Dialog in MS Access

Поделиться
HTML-код
  • Опубликовано: 16 дек 2024

Комментарии • 21

  • @JohnSmith-th5zw
    @JohnSmith-th5zw 4 года назад

    Excellent video and explination of the code. I am using it with the folder picker. Is there a way to save the last folder picked until the user selects another location?

  • @dbaker369
    @dbaker369 4 года назад +2

    Great Video but I get an error on the "Dim fDialog As Office.FileDialog" line "User-defined type not defined", how can I correct this?

  • @wiseprince4789
    @wiseprince4789 4 года назад

    this video is excellent but how can I save those file path linking a table to it for multiple selection and saving?

  • @jimturner4937
    @jimturner4937 4 года назад

    I get an error also and I'm sensing it may be related to later versions of Access? I'm not sure.
    The error highlights this line:
    Call .Filters.Add(Description:=Split(varEntry, ",")(0), _
    Extensions:=Split(varEntry, ",")(1))

  • @johndavy3820
    @johndavy3820 7 лет назад

    Excellent! Just what I needed. You are a great instructor. Thanks so much

  • @simonepaterson6750
    @simonepaterson6750 7 лет назад +1

    Hi Access Jitsu,
    Great Video!
    I'm getting a Type mismatch (Error 13) when I click the button on my form any ideas?
    Thanks, Simone.

    • @Accessjitsu
      @Accessjitsu  7 лет назад

      Did you select the microsoft office reference?

  • @johndavy3820
    @johndavy3820 7 лет назад

    I have error msg "Method or data member not found" It is on Me.ControlName.Picture = varFile" and "Me.FieldName = VarFile" Can you help?

  • @baharmohmand5474
    @baharmohmand5474 8 лет назад

    Hi there,
    My DB has a filed that specifies an imagepath which is then displayed in an imagecontrol (control source is set to the imagepath field).
    I used the above filedialog to update the imagepath field. Unfortunately for some reason the image didn't get updated after I choose a new path with the filedialog.
    What could I be doing wrong?
    Everyone's suggestions are welcome

    • @Accessjitsu
      @Accessjitsu  8 лет назад

      +Bahar Mohmand Do you need to requery the form?

  • @theaussiegeek
    @theaussiegeek 8 лет назад

    I need to find a file picker option where different Office versions are being used on different PCs using the same database front end. The DB is being used on different PCs with different Office versions with the tables linking back to a single data source. I tried this option (as per video) and i had major reference errors on PCs not using the same office version as picked.

    • @Accessjitsu
      @Accessjitsu  8 лет назад

      Using late binding will allow you to use the file dialog without the office object library reference. Use this dimension instead:
      Dim fDialog As Object
      Then you need to replace the msoFileDialogFilePicker constant (or whichever you are using), with the actual value, since without the reference, Access won't know what the constant is. The values are:
      msoFileDialogFilePicker = 3
      msoFileDialogFolderPicker = 4
      msoFileDialogOpen = 1
      msoFileDialogSaveAs = 2
      for example: Set fDialog = Application.FileDialog(3)

  • @redwarrior260
    @redwarrior260 Год назад

    Thank you, definitely learnt something.

  • @oliverhansen3282
    @oliverhansen3282 7 лет назад

    Hi, first off, great tutorials mate!
    I have a question though; Is the Microsoft Office 16.0 Object Library sufficient for reference?
    Regards, Oliver.

    • @STINKFISTBOBCAT
      @STINKFISTBOBCAT 6 лет назад

      You've no doubt figured this out by now but yes, whatever version of the Object Library you have will work.

  • @theaussiegeek
    @theaussiegeek 8 лет назад

    ok at 10.33 you click on a button on the menu to comment out all the selected text. Where the hell is that in the button in the menus / options .... i must have that button.

  • @tughanozsezer9332
    @tughanozsezer9332 7 лет назад

    +Access Jitsu Hello Thank you very much sharing your knowladge and experiences ... btw you have great name "Access Jitsu " ... thumbs up... :D

  • @hiteshchoksi3494
    @hiteshchoksi3494 5 лет назад

    Volume too low