Reply to topic

Derived field manipulation

esanel
Registered Member
Posts
1
Karma
0

Derived field manipulation

Tue Jan 29, 2013 5:15 pm
I have a database of circuit diagrams (Jpeg). I am using an image field to display them, (PCB) and a derived field to display their location, (%{PCB}). This gives the full path name i.e. file:///home/ect./name.jpg.
I would like to be able to use a function like mid() or right() to pick out just the name.
Is this possible?
Thank you.
robbystephenson
KDE Developer
Posts
144
Karma
1
OS

Re: Derived field manipulation

Thu Jan 31, 2013 4:12 am
esanel wrote:I have a database of circuit diagrams (Jpeg). I am using an image field to display them, (PCB) and a derived field to display their location, (%{PCB}). This gives the full path name i.e. file:///home/ect./name.jpg.
I would like to be able to use a function like mid() or right() to pick out just the name.
Is this possible?
No, unfortunately, I've not implemented any functions like that for the field values.

But are the image locations such that you could enter the name and then use the image and location fields as derived values? So you could set the location to file:///home/ect./%{name}.jpg

 
Reply to topic

Bookmarks



Who is online

Registered users: Alexa [Bot], asevens, Baidu [Spider], Bing [Bot], bjoernbalazs, Exabot [Bot], Google [Bot], GordieGii, Hans, isadora, koriun, lueck, Majestic-12 [Bot], mmistretta, MSNbot Media, nezumi, Yahoo [Bot]