mtagliaferri
Registered User.
- Local time
- Today, 20:31
- Joined
- Jul 16, 2006
- Messages
- 550
I am getting confused with two codes to add a file path to a record. both work perfectly but which one would be best practice...
To understand in details the DB will be always saved in one folder and inside the folder there will be multiple subfolders the main folder is more likely to be saved in the user "Documents" Folder.
So which is best and pros and cons?
Or
Thanks
To understand in details the DB will be always saved in one folder and inside the folder there will be multiple subfolders the main folder is more likely to be saved in the user "Documents" Folder.
So which is best and pros and cons?
Code:
fDialog.InitialFileName = Environ("userprofile") & "\Documents\BA Cityflyer\Crew Scheduler\Documentation\Crew ID Photos\jpg"
Or
Code:
fDialog.InitialFileName = CurrentProject.Path & "\Documentation\Crew ID Photos\Jpg"
Thanks