April 6, 200619 yr 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 April 6, 200619 yr by Guest
April 20, 200619 yr 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"] [/if] [field:'article_1', -encodebreak] [/records] [/inline]
Create an account or sign in to comment