skuli Posted December 11, 2001 Posted December 11, 2001 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.
Anatoli Posted December 11, 2001 Posted December 11, 2001 You can probably do this, when on next -format page will be just blank page with find link in Refresh Meta tag.
Garry Claridge Posted December 11, 2001 Posted December 11, 2001 You can use an InLine action in the format page returned by the edit action. This works for me. All the best. Garry
skuli Posted December 11, 2001 Author Posted December 11, 2001 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.
Garry Claridge Posted December 12, 2001 Posted December 12, 2001 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
Recommended Posts
This topic is 8767 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 accountSign in
Already have an account? Sign in here.
Sign In Now