Jump to content
Claris Engage 2025 - March 25-26 Austin Texas ×

inlineAction is returning only one result


rivet

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

Recommended Posts

InlineAction

I used this sample but I only get a single record returned - why (there are many records with this lastname)

[FMP-InlineAction: -db={CurrentDatabase}, -lay={CurrentLayout}, last name="smith", -find] [FMP-Field: first name] [FMP-Field: last name] [/FMP-InlineAction]

Link to comment
Share on other sites

I think it woould be a good idea to declare "how" you are looking for the last names......contains,equal,exact...etc.

Also, I would use a -Max in your Inline or you will learn the hard way that the only 25 recods will be returned unless max is declared....

>>your posted problem-->you need to "loop" records just like you would using the form submit:

____________________________________________________

[FMP-InlineAction: -db={CurrentDatabase}, -lay={CurrentLayout}, last name="smith",-max=all, -find]

[FMP-Record]

[FMP-Field: first name] [FMP-Field: last name]

[/FMP-Record]

[/FMP-InlineAction]

____________________________________________________

now give it a try!

Link to comment
Share on other sites

I know...that was just an example to show to point of "-Max"....he can set it to 2 or 20000000000 OR have a user decide/enter how many results per page are wanted!

it's his cake smile.gif...and he can eat it too smile.gif

Link to comment
Share on other sites

This topic is 7850 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.