Skip to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Substracting strings?

Featured Replies

Hello people!

I was just wondering if this approach is even possible.

All of the image paths in field are constant:

-----------fields---------------

ItemID: xxxxx

ImageName:xxxxx.jpg

Image_Path: M/xxxxx.jpg"]file://X:/images/M/xxxxx.jpg

--------------------------------

how to set field to the same string but altered?

c_Large_Image_Path: L/xxxxx.jpg"]file://X:/images/L/xxxxx.jpg

My inital though was to :

c_root= TrimRight((Image_Path - ImageName),3)

to produce a "root" value:

file://X:/images/

and then

c_final= (c_root & "M/" & ImageName)

but the problem is "subtracting text strings"

Anyone has ideas?

Much Obliged!

SetField["c_Large_Image_Path", "Substitute ( Image_Path:, "file://X:/images/M/", "file://X:/images/L/")"]

  • Author

Hi Fishma!

Thanx for the post...I am sorry, the sample above just that....the actual path varies and is not constant. blush.gif

the "true" path is:

file://X:/images/LocationName/M/

where I have a few locations and are diff.

But, I managed to get it to work.

The idea here was to "open/View" larger image:

- without ever storing it in DB

- having it in the same root folder but only the "last folder" would differ.

- images are named the same

Here is how it worked out: attached image

Image_Path_Estimate.jpg

Excellent...I'm glad you got it to work.

  • Author

Hi Fishma!

Thanx for the pointer!

Your way is much easier & quicker in "static" paths... nice move with SetFild!

Many thanx to Lee who also pitched in with this post! wink.gif

Create an account or sign in to comment

Important Information

By using this site, you agree to our Terms of Use.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.