Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 
					
				
		
Hi,
requirement is that whenever we select a value in any of the list box and click the button the data need to be appeared in text box continuously.
i.e if i select a value from list box A and click the button the data need to be displayed in text box,
similarly if i select a value from list box B and click the button the data need to be displayed in text box
so how can i achieve this please help me URGENT.
Thanks in Advance,
sravani k.
 MK_QSL
		
			MK_QSL
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Please check enclosed file.
 MK_QSL
		
			MK_QSL
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		=getcurrentselections ( chr(13)&chr(10) , ' : ' , ' ; ' )
 maxgro
		
			maxgro
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		or
=GetFieldSelections(yourfield)
if you want a specific field
 rbecher
		
			rbecher
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi,
you can use a button action (external/set variable) and set the selected value to a variable which get shown continously in the text box. Perhaps you will log the selections a user made? If so please find attached example.
- Ralf
 
					
				
		
Hi Manish,
Thank you for the answer but what i need is only the values need to be displayed not the fieldnames along with the values in the textbox.
i.e if we select a value 'A' from Customer list box and Click the Button then only 'A' need to be displayed in text box not as Customer:A and if possible the value need to be deselected from listbox once displayed in text box.
Thanks
sravani k.
 
					
				
		
Hi Ralf,
Thank you for the answer but what i need is only the values need to be displayed not the fieldnames along with the values in the textbox.
i.e if we select a value 'A' from Customer list box and Click the Button then only 'A' need to be displayed in text box not as Customer:A and if possible the value need to be deselected from listbox once displayed in text box.
Thanks
sravani k.
 
					
				
		
 sunilkumarqv
		
			sunilkumarqv
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi sravani,
as of manish exp edit like this. hope these is you looking for.
=' '& CHR(10) & CHR(10)
& Concat(GetFieldSelections(Customer),', ')
 
					
				
		
ya but it can't be only the customer listbox..
we can have many listboxes and when we select a value from particular list box and click the button then only the value selected need to be displayed in text box not the fieldname also...
thanks in advance
sravani.
 
					
				
		
 sunilkumarqv
		
			sunilkumarqv
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		| For many list boxs you want list out whatever listboxnames and fields follow below script =' ' & If(GetSelectedCount(Listboxtablename1)>0, GetFieldSelections(Listboxtablename1)) &' ' & | |||||
| If(GetSelectedCount(Listboxtablename2)>0, GetFieldSelections(Listboxtablename2)) &' ' & | |||||
| If(GetSelectedCount(Listboxtablename3)>0, GetFieldSelections(Listboxtablename3)) &' ' & | |||||
| If(GetSelectedCount(Listboxtablename4)>0, GetFieldSelections(Listboxtablename4)) &' ' & | 
 
					
				
		
Hi,
Try below:
=If(GetSelectedCount(FieldName1)>0, GetFieldSelections(FieldName1) & Chr(10) &
If(GetSelectedCount(FieldName2)>0, GetFieldSelections(FieldName2) & Chr(10) &
and son on..
