I have a review of each product saved as a html file within the FP 2000 web - each of these is named the same as the product to which it relates.
eg. Product name 'Widget1', product review=Widget1.htm
I have a .asp page that is fed from a simple FP search form and want it to include the product review based on the search form input. I have managed to retrive all of the data relating to the product so far but cannot get it to drag the product review in as well.
To date I have tried using the Page Include command within FP 2000 and adjusting the target within the html to equal the product field from the database.
I would like to avoid using frames if possible as I understand that shared borders and frames don't sit happily together when using FP2000.
I'm not sure I understand what you're asking...FP's Include Page content is added to the page when you save or publish it. If your ASP page is pulling in other data related to the query then why not just add the review data to the area with the product data you're accessing? I assume you're pulling this from a database? If so it sounds like you may need to rewrite your query as opposed to using FP's Include Page.
Thanks for the info about how the Inlcude Page component works - I hadn't appreciated that it was processed as the page was saved - I'd assumed it was done at run time. Clearly this is not an option given what I am trying to do.
The data is being pulled from an Access database.
I have tried storing the product reviews in the database but when they are retrieved they appear as one block of unformatted text - no paragraphs or headings - not very readable or user friendly.
How might I get over this? Is it possible to store the html code in the database field and get FP to treat is as html when it is displayed in the .asp results page?
If you store the HTML formatted text in the database field, when you create the asp page, you can right click an option that says "this field is HTML".
Added: you may also be able to pre format your product.asp template with font, size, style and paragraph so you only need to add <p> tags to the product text in the DB.
Added2: you could perhaps use an inline frame for your product.asp page, and where you "set initial page" you choose/edit the DB parameters (not entirely sure how, but I think you can dictate in your DB what file - include page is to be used for each record)