Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
 
					
				
		
 jyothish8807
		
			jyothish8807
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		
Hi All,
I have 10 Excels with different names.Now i want to create a field "Name" in the table, automatically which should pull the file name into it, with corresponding to its data.
How can i do this?
Regards
KC
 PrashantSangle
		
			PrashantSangle
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi,
USe
FilebaseName() as Name
FilebaseName() return FileName
Regards
 PrashantSangle
		
			PrashantSangle
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Hi,
USe
FilebaseName() as Name
FilebaseName() return FileName
Regards
 anbu1984
		
			anbu1984
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		LOAD FileName() As Name,
A,
B
FROM
[ExcelFile.xls]
(ooxml, embedded labels, table is Sheet1);
 
					
				
		
 alexandros17
		
			alexandros17
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Load
....
Filename() as myFileName
From
...
Let me know
 
					
				
		
 jyothish8807
		
			jyothish8807
		
		
		
		
		
		
		
		
	
			
		
		
			
					
		Thanks a lot everyone 
