Data type for variables (functions) are not carried over

Issues related to label design (working with databases, data processing, RFID encoding etc.) and printing (from NiceLabel Express, NiceLabel Pro, NiceForm and NicePrint)

Moderators: Georges, milos, NiceLabel Support Team

Post Reply
bcuizon
Enthusiast
Posts: 7
Joined: Tue May 08, 2018 8:56 am

Data type for variables (functions) are not carried over

Post by bcuizon » Fri May 25, 2018 9:56 am

Hello,

Using older versions of NiceLabel, we are able to set a data type for variable functions. This option is located when we view a function variable, click edit, click Advance in Variable window and click Validation tab.

In NiceLabel 2017, this options seems to be gone. How/where can we set this setting?

User avatar
Saso
NiceLabel
NiceLabel
Posts: 2933
Joined: Mon Sep 04, 2006 8:09 am
Contact:

Re: Data type for variables (functions) are not carried over

Post by Saso » Fri May 25, 2018 1:59 pm

True, output from functions is no longer "formattable" in the function itself.

You can still change the data type or formatting in NiceLabel 2017, you just have to follow slightly different path.
You have to feed the function result into new variable and then you can modify the output for this new variable.

Do the following:
  1. Create your function. In NiceLabel 2017, the function itself contains the function result (there is no new variable with the result).
  2. Create new variable and edit its properties.
  3. In General tab, click the arrow button next to edit field for the initial value.
  4. Select Insert data source and select your function.
  5. For Data type, select the type that best describes your data.
  6. Optionally, you can change the properties in the Input rules and Output rules tabs. For example, you can do the date conversion.
Saso Fleiser
Senior Technical Product Specialist

Post Reply