Adjusting data source format on a field by field basis
I'm a new user (sorry if this is a stupid question).
I have created a Named Data Source ("ExpiryDate", type=date, format=dd/mm/yy) and placed this on my form for entry at print time.
I need to use this data in two different ways.
1. In a text field in the format MMM-YYYY
I created a text field called LabelExpiryDate and assigned it's data source as "ExpiryDate"
2. In a QR CODE as an GS1 Application Identifier in the format YYMMDD.
I assigned the QR code GS1 AI value to "ExpiryDate".
Problem I'm getting is changing the data format in the text fields is changing the data format of the Named Data Source (i.e. when I go into the LabelExpiryDate and change the format for the embedded data, it's changing the format for all controls using the embedded data.
In a nutshell, I'm trying to capture a complete date (DDMMYY) at print time on a form, and use that 'data' as the data for two different fields on the label that require the data in different formats (One uses MMM-YYYY, the other requires YYDDMM as it's a defined format from GS1).
I'm new to Bartender (Pro) and I'm more familiar with other apps. My understanding (please correct me if this isn't correct), is that a Named Data Source acts like a variable, and as such it 'should' be storing the value as a complete 'date', and when you use that Named Data Source as the source for a text field, changing the format at the text field level is specific to the formatting for the text filed, not the Named Data Source.
What am I missing and how do I do this?
-
The simplest way would be to make the other fields/strings Object Value strings and link them to your Named Data Source. Once linked you then need to adjust the Data Type to Date and set how you want the date to be shown in that field. So something like this
0
Bitte melden Sie sich an, um einen Kommentar zu hinterlassen.
Kommentare
1 Kommentar