Access 2013 Fenêtre de recherche pour insérer un fichier lié

Fermé
sixtjmm - 2 mai 2022 à 21:45
yg_be Messages postés 22697 Date d'inscription lundi 9 juin 2008 Statut Contributeur Dernière intervention 18 avril 2024 - 3 mai 2022 à 07:54
Bonjour, comment modifier par défaut le répertoire de recherche dans Fenêtre de recherche pour insérer un fichier lié ou en ajoutant un enregistrement directement dans la table.



Configuration: Windows / Firefox 99.0
A voir également:

1 réponse

yg_be Messages postés 22697 Date d'inscription lundi 9 juin 2008 Statut Contributeur Dernière intervention 18 avril 2024 1 471
3 mai 2022 à 07:54
bonjour,
tu peux faire cela en précisant
InitialFileName 

Option Compare Database
Option Explicit

Private Sub tfd()
Dim fd As FileDialog
Set fd = Application.FileDialog(msoFileDialogOpen)
fd.InitialFileName = Application.CurrentProject.Path
fd.Show
End Sub
0