L
LJG
Hi Guys,
I run a qry that creates a excel export file and I need to include fields of
data to title the file it creates, is this possible?
I currently do this by adding a date format:
"C:\database\dataexport\Appointments\folder_x" & "_" & Format(Now(),
"dd_mmmm_yyyy, hh.nn") & ".xls"
With a change in policy I need to add other elements that are included in
the query that creates each excel file:
UserName
ContactID
UserName will be used to identify 'folder_x' to make sure each file is saved
in the correct folder
ContactID will be included in the file tile to provide naming uniqueness
i.e:
"C:\database\dataexport\Appointments\JohnSmith"&"_"&ContactID& "_" &
Format(Now(), "dd_mmmm_yyyy, hh.nn") & ".xls"
TIA
I run a qry that creates a excel export file and I need to include fields of
data to title the file it creates, is this possible?
I currently do this by adding a date format:
"C:\database\dataexport\Appointments\folder_x" & "_" & Format(Now(),
"dd_mmmm_yyyy, hh.nn") & ".xls"
With a change in policy I need to add other elements that are included in
the query that creates each excel file:
UserName
ContactID
UserName will be used to identify 'folder_x' to make sure each file is saved
in the correct folder
ContactID will be included in the file tile to provide naming uniqueness
i.e:
"C:\database\dataexport\Appointments\JohnSmith"&"_"&ContactID& "_" &
Format(Now(), "dd_mmmm_yyyy, hh.nn") & ".xls"
TIA