Jump 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.

Featured Replies

  • Newbies

I am creating a simple database designed to be used with a CGI/Perl script. The idea is that I can export all of the relevant field data into a text file in the format required by the CGI script. This is all working great. simple, lovin it!! Now, I have tried parsing the name of the image within my container field a number of ways. The most successful method to date is using the folowing:

"/"&RightWords ( northwest_catalog_2005::Image_Thumb ; 3)

This works fine if the name of the file is "image_spongebob/pillow110.gif"

However, if the name is "image_spongebob/110pillow.gif", then the required parsing method changes to this:

"/"&RightWords ( northwest_catalog_2005::Image_Thumb ; 4)

Since I don't have the luxury of changing all of the image file names, I don't feel this method is appropriate.

With that in mind, I have also tried the following,

Get(ActiveFieldContents)

Which yields too much info such as:

size:210,175

image:../cmn/image_sponge/pillow110.gif

imagemac:/Pallas/Documents/ Walter_Folder/CMN/Web/cmn/image_sponge/pillow110.gif

All I need is the filename.gif and the parent directory info:

/image_spongebob/filename.gif

Any ideas on parsing this out for the best result? All ideas are appreciated.

Mike

  • Author
  • Newbies

This works, although I'm not totally clear on how. It just happened while I was having fun. smile.gif

"/" & Right(northwest_catalog_2005::Image_Thumb;Length(northwest_catalog_2005::Image_Thumb) - Position(northwest_catalog_2005::Image_Thumb;"/image_";Length(northwest_catalog_2005::Image_Thumb);-1))

Create an account or sign in to comment

Important Information

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

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.