Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 
					
				
		
Hi,
I've got a dual Field Month.
I need to set an expression which returns a text value which corresponds to a particular numeric value.
Say, I've got number X.
I'd like to set a function which returns the text value of X.
Is it possible?
Thank you in advance,
Larisa
 
					
				
		
 Qrishna
		
			Qrishna
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		See attached.
 
					
				
		
You mean 'Ten' for the number 10?
 Kushal_Chawda
		
			Kushal_Chawda
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Please elaborate more on the requirement
 
					
				
		
No, I mean 'October' for the number 10.
The field Month is dual. So, every month has got its number.
 
					
				
		
Each value of the Field month in dual.
So if I set number 1 the expression shoul return 'January',
if I set number 2 the expression shoul return 'February' and so on.
 
					
				
		
 sasiparupudi1
		
			sasiparupudi1
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		=date(makedate(year(today()),10),'MMMMM')
 antoniotiman
		
			antoniotiman
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		You have dual field if in Your Script You have
Month(Date) as Month
if Date is a valid date field.
Month is Dual field
 
					
				
		
Actually, I've got several dual fields.
one is Month, another is Media (each media has got its own text and numeric value).
Is it possible to solve the task for the Media field as well?
 Kushal_Chawda
		
			Kushal_Chawda
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Create the Month using Date field
Date(YourDateField,'MMMM') as Month
Create the inline table to assign number
load * inline [
MonthNum, Month
1, January
2, February
3,March
4,April,
5,May
6,June
7,July
8,August
9,September
10,October
11,November
12,December ];
 
					
				
		
 Qrishna
		
			Qrishna
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		See attached.
