Jump to content

This topic is 6988 days old. Please don't post here. Open a new topic instead.

Recommended Posts

Posted

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

Posted

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.

Posted

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

  • 3 weeks later...
Posted

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

  • 4 weeks later...
Posted

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

This topic is 6988 days old. Please don't post here. Open a new topic instead.

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...

Important Information

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