Main siteMain site  ForumForum  ForumSearch  Private messageEmail contact  RegisterRegister  Log inLog in 
Topic: Object expression
Reply to topic
Author Message
Gmartin3



Joined: Oct 19, 2021
Posts: 81

PostPosted: May 16, 2023 4:50 PM    Post subject: Object expression

Jarek
I am using this element as part of a routine for saving session data. It is based on an old example of yours.

The expression is this

"design/Sessions/" + (In2 == null ? In1 : In2)+ "/session.xls"
I want to include the date of the session via a OSInfo connected to input 3
I have tried several means of doing this but it does not work out. Can you let me know how to do this. I can send a snippet if that would be helpful
jarek



Joined: Oct 22, 2007
Posts: 1049

PostPosted: May 16, 2023 5:18 PM    Post subject:

I would try something like this:

"design/Sessions/" + (In2 == null ? In1 : In2)+ "_" + In3 + "/session.xls"

If not, send a snippet.
Gmartin3



Joined: Oct 19, 2021
Posts: 81

PostPosted: May 16, 2023 5:22 PM    Post subject:

Thanks that is a bit different than what I had tried.
I will try right now
Gmartin3



Joined: Oct 19, 2021
Posts: 81

PostPosted: May 16, 2023 5:22 PM    Post subject:

Thanks that is a bit different than what I had tried.
I will try right now
Gmartin3



Joined: Oct 19, 2021
Posts: 81

PostPosted: May 16, 2023 5:33 PM    Post subject:

That renamed the folder, What I am wanting is the name on the excel sheet that is created, I will send the snippet shortly

Thanks
Reply to topic