October 29, 200520 yr Hi there, I'm building a database which I want to publish using IWP. One thing I cannot get functioning are buttons in portal rows which should set a field with the value of that portal row field. In filemaker itself it functions like it should, in the webbrowser it always uses the value of the first row. Even tests with Get ( PortalRowNumber ) results always in 0 I found that every button in de generated webpage gets an unique value so I guess there should be a way to do it. Any idea's ? Thanks Marcel
October 29, 200520 yr maybe you need to leave a little more room to ensure the button is completely within the portal row. Positioning is always a little bit off between FMP and IWP, so you need to leave room for error.
October 29, 200520 yr Author tried to give it more space like you suggested but it still doesn't work....
October 30, 200520 yr I wonder what you do with the output for the function, if you wish to store it into a field, should you remember to "Commit" the result?? If you instead uses it as a scriptparameter, will it only survive as long as the script runs, unless it's passed on as a new parameter to yet another script. --sd
November 17, 200520 yr Does the table with the portal in it have any records? I found this to be the problem in exactly the case you are describing - the portal button worked fine when accessing Filemaker directly, but via IWP it would always return data from the first portal row. Then I realised that the table with the portal was made up entirely of global fields, and had no records. I added a record and 'voila!', the button works. (Only wasted about 2 hours before I figured it out!) Hope this helps
December 14, 200520 yr Author I haven't been able to react for a while. I solved it by just recreating the layout again. After that, it functioned normally. Thanks for all your input and suggestions. Marcel
Create an account or sign in to comment