SOLVED
Creating file name dynamically
Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Mute
- Printer Friendly Page
Neelima1
8 - Asteroid
07-16-2024
09:39 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
Hi
We are generating the output in CSV format, want to generate the output file name dynamically. formula I have written is throwing error message, please advice
"Term Hours_"+DateTimeToday()+ "_BW_Loaded by" +.csv
Solved! Go to Solution.
Labels:
- Labels:
- Developer Tools
3 REPLIES 3
apathetichell
19 - Altair
07-16-2024
09:41 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
.csv is not a string - how about - "_BW_Loaded by.csv"
datetimetoday() - is not a string - how about datetimeformat(datetimetoday),"%Y-%m-%d")
cjaneczko
13 - Pulsar
07-16-2024
10:45 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
The following should work. You can adjust the DateTime in the format of your choosing.
'Term Hours_' + datetimeformat(datetimetoday(),'%m-%d-%Y') + '_BW_Loaded by.csv'
21 - Polaris
07-16-2024
04:42 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Notify Moderator
datetimetoday() - is not a string but it can be used as a String. 😁
