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

I've looked at many posts regarding the use of [color:red]GetAsText to return the path of files stored in a container field, but I've yet to see one that explains my problem.

We have a database hosted on Server 7 that has Excel spreadsheets inserted as an object from file (link, display as icon) in a container field. The Excel files were initially stored locally but, of course, we want to move them to a server where everyone can access them. I want to use GetAsText to return the file name, then use another calculation to generate the new path to the file on the server.

However, when I created a field using GetAsText (mycontainer), Filemaker 8 returns only "?". I have tried moving the file directory where the spreadsheets are located into the Filemaker 7 Server folder and re-inserting a few of the files, but I still get the "?". I even tried creating a new database on my Desktop with only two fields (the container and the GetAsText calculation)and inserting a spreadsheet that is also on the desktop, but it still doesn't work.

I am using Windows XP. Does GetAsText work in Windows? What am I doing wrong here?

This is, admitedly a Mac'ish note, but I get the "?" on a container when I do GetAsText on a pasted image.

From the online help.

Description

Returns data as data type text, for use with formulas involving text or text functions. data can be data type number, date, time, timestamp, or container.

For a container field, GetAsText returns external path information, text (when the container contains text that does not resolve into a valid path), or a question mark [color:blue](?) if the container data is embedded in the database.

Lee

Reading the online help is CHEATING. :

  • Author

Thanks, guys. I guess linking by inserting constitutes embedding, based on the "?" that is returned.

Next question: How do you return the filename of the file "embedded" in the container field?

Embedded = placed in File. Therefore there isn't a file path or file name.

Lee

  • Author

Thanks, Lee.

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.