• Page:
  • 1
  • 2

TOPIC: Logicity Pro VB Script Variables Reference

Logicity Pro VB Script Variables Reference 19 Sep 2018 08:28 #2828

  • daniel.santos@cctec.pt
  • daniel.santos@cctec.pt's Avatar
  • Offline
Hi,
We’ve the Logicity Professional version and we buy it to be able to use variables with Parameters.

The problem is, we’ve a report that need to be sent to email addresses, but each report will contain information that we want to send only to the person that correspond to the email address.

For example, the report will be generated with my information, and after that, will be sent to my own email address, and so on and so on.
At the moment, Logicity seems to not be able to send to dynamic email addresses any kind of action.

There’s any way to do it?

We also would like to know what's the variable that can be used for usernames. We're on the same report, the username that will be always different and we want to type a variable to allow dinamic usernames.

Thanks
The administrator has disabled public write access.

Logicity Pro VB Script Variables Reference 12 Dec 2018 19:04 #3425

  • KenSwenson
  • KenSwenson's Avatar
  • Offline
We are trying to get a store number into a parameter and have tried everything we can think of.
We tried Environment Variables and VB Script with a registry entry. The VB script works but within a parameter it does not. It is not a security thing as our administrator ran it.
Has anybody tried anything besides a "Date" or the default "Compute or User" names?
Default stuff works but it doesn't provide the info for a parameter that we need.
Any info would be helpful -
The administrator has disabled public write access.

Logicity Pro VB Script Variables Reference 13 Dec 2018 15:40 #3437

  • aellis
  • aellis's Avatar
  • Offline
Ken, have you tried using command line replacements and building the logic into a script file that calls the RRD? Here is some notes on how it would work:

www.logicitysuite.com/forum/tips-tricks/...ne-replacements.html
The administrator has disabled public write access.
The following user(s) said Thank You: KenSwenson

Logicity Pro VB Script Variables Reference 13 Dec 2018 16:59 #3438

  • KenSwenson
  • KenSwenson's Avatar
  • Offline
This worked great! I read this before but didn't understand the use case for it.
The administrator has disabled public write access.

Logicity Pro VB Script Variables Reference 17 Dec 2018 14:33 #3496

  • Dan231
  • Dan231's Avatar
  • Offline
How would your write this in order to get:
MMDDYYYY
The administrator has disabled public write access.

Logicity Pro VB Script Variables Reference 17 Dec 2018 19:15 #3500

  • aellis
  • aellis's Avatar
  • Offline
I think it would be:

%{(Right("0" & Month(Date), 2) & Right("0" & Day(Date), 2) & Year(Date))}%
The administrator has disabled public write access.
The following user(s) said Thank You: Dan231

Logicity Pro VB Script Variables Reference 17 Dec 2018 19:21 #3501

  • Dan231
  • Dan231's Avatar
  • Offline
Perfect! Thanks!!
The administrator has disabled public write access.
  • Page:
  • 1
  • 2

Logicity Logo White 300

526 S Main St., Suite 805, Akron, OH 44311 USA
855.758.0100
sales@logicitysuite.com