Hello. In my access vba code I am trying to change a hard coded drive to a textbox value assigned to a variable.
I would like to change this;
DeleteFiles "s:\APLINKED\", "", DateAdd("d", -10, Date)
to something like this;
varFrmDrv = Me.frm_entfname_path
DeleteFiles varFrmDrv & "APLINKED\", "", DateAdd("d", -10, Date)
Where s:\ can now be c:\ or whatever drive letter is entered in the text box "frm_entfname_path"
Thank you.