Hi,
I have two text boxes:
txtFile and txtDatepost
In the textbox txtFile, the user browses to find a file in a drive. The selected file and path name is then displayed in the txtFile.
In txtDatepost I have put into the control source:
=Filedatetime [txtFile]
which works fine. However, when the form pops up, if there is no file selected in txtFile, the date in txtDatepost doesn't show as blank, it shows as #error. After a file is selected and shows in txtFile, the date shows up.
What I would like to see happen is the filedatetime function to show up ONLY after a file is selected.
Any ideas?
Thanks
I have two text boxes:
txtFile and txtDatepost
In the textbox txtFile, the user browses to find a file in a drive. The selected file and path name is then displayed in the txtFile.
In txtDatepost I have put into the control source:
=Filedatetime [txtFile]
which works fine. However, when the form pops up, if there is no file selected in txtFile, the date in txtDatepost doesn't show as blank, it shows as #error. After a file is selected and shows in txtFile, the date shows up.
What I would like to see happen is the filedatetime function to show up ONLY after a file is selected.
Any ideas?
Thanks