Hi All,
I have a little problem here which is givng me a little problem, any help would be very gratefully received
I have a table with 2 fields, one contains a full path name,, the other is empty
what I need to do is run a query that will remove the extension and the path so it would populate the second field with just the filename.
It has to be a query as the data will change very often.
ie
Field1 FIELD2
G:\ITEMS\FOOD\peppers.txt BLANK
G:\ITEMS\FOOD\bananas.txt BLANK
G:\ITEMS\FOOD\Steak.txt BLANK
G:\ITEMS\FOOD\Groundnuts.txt BLANK
and after running would look like this
Field1 FIELD2
G:\ITEMS\FOOD\Peppers.txt Peppers
G:\ITEMS\FOOD\Bananas.txt Bananas
G:\ITEMS\FOOD\Steak.txt Steak
G:\ITEMS\FOOD\Groundnuts.txt Groundnuts
I'm really stuck on this one
many thanks
James
I have a little problem here which is givng me a little problem, any help would be very gratefully received
I have a table with 2 fields, one contains a full path name,, the other is empty
what I need to do is run a query that will remove the extension and the path so it would populate the second field with just the filename.
It has to be a query as the data will change very often.
ie
Field1 FIELD2
G:\ITEMS\FOOD\peppers.txt BLANK
G:\ITEMS\FOOD\bananas.txt BLANK
G:\ITEMS\FOOD\Steak.txt BLANK
G:\ITEMS\FOOD\Groundnuts.txt BLANK
and after running would look like this
Field1 FIELD2
G:\ITEMS\FOOD\Peppers.txt Peppers
G:\ITEMS\FOOD\Bananas.txt Bananas
G:\ITEMS\FOOD\Steak.txt Steak
G:\ITEMS\FOOD\Groundnuts.txt Groundnuts
I'm really stuck on this one
many thanks
James