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.

[database_fmcontainer] tag is my arch nemesis

Featured Replies

The years drift by like sand through an hourglass, seasons come and go, and still I have not yet gotten the lasso [database_fmcontainer] tag to work. I have read the greenspan-esque description of the tag in the lasso manual so many times now that it reads like haiku:

"the code above represents the complete

content of a lasso page"

But there are still so many unanswered questions: does the first block of code go into the image.lasso file? And what does the variable "ContainerData" do once it has been assigned? it's introduced, and then never used...

Every few months when I feel recharged enough to deal with the frustration, I sit down to try and make this work, and it never does. My problem:

I need to display mulitple images on one lasso format file (lets call it "results.lasso") coming from a single record in a filmaker 6 database (let's call it "products.fp5"). Each record has like 4 or 5 views of the same product in container fields (lets call the fields "pic1", "pic2" etc.). Can anyone help me crack this mystery so I can put this issue to rest and move on with my life?

Edited by Guest

  • 2 weeks later...

I got it to work with FM Advanced - you can see examples by going to http://www.tcs-inc.us/advisories/advisory.lasso

Essentially there are two files - one which is the Page that I want to display and the second which is the "Pic" file:

Heres the lasso code for the pic file:

[inline: -database='libdocs', -table='web_news', -keyvalue=(action_param:'id'), -Search]

[file_serve:(database_fmcontainer:'pic_1')][/inline]

and heres the lasso part of the file that calls it -

[records] [Date_Format: (field:'creation_date')]   [Date_Format: (field:'creation_date'), -Format='%d'] , [Date_Format: (field:'creation_date'), -Format='%Y']

[field:'headline']

[if:(field:'pic1_available')=="1"]

pic1.lasso?id=[keyfield_value]

[/if] [field:'article_1', -encodebreak] [/records] [/inline]

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.