December 11, 200124 yr Hey All, Is it possible to perform a find when submitting a form that is updating records so that the results page includes a found set of records? In other words, I have a site that when a record is updated, I want to have a summary of all records related to that one record returned, rather than having a results page returned and then having to have the user click a link to generate the summary page. If so, how would you go about it? Thanks.
December 11, 200124 yr You can probably do this, when on next -format page will be just blank page with find link in Refresh Meta tag.
December 11, 200124 yr You can use an InLine action in the format page returned by the edit action. This works for me. All the best. Garry
December 11, 200124 yr Author Garry, Thanks but can you exand on this a bit? I don't quite fully understand the Inline action and this would be a good situation to understand it. Thanks.
December 12, 200124 yr skuli, Here is an example using an InLine Action to construct an option list: <td><select name="item_id"> [FMP-InlineAction: -db=rmr_prices.fp5, -lay=allfields, -findall][FMP-Record] <option value="[FMP-Field:item_id]">[FMP-Field:item_name]</option> [/FMP-Record][/FMP-InlineAction] </select></td> So your code would be in the Format file called by the update (-edit). Garry
Create an account or sign in to comment