skuli Posted March 11, 2002 Posted March 11, 2002 Hi again, This may be a very simple quesiton, but I can't figure it out. Is it possible to after finding a set of records and then updating a record in that set to return to the found set of records? For example, you have a found set of 100 records, and you are currently browsing records 50 -75. You then select a record to get more detail using the Record link, then update that record. Is it then possible to return to the original found set of records and specifically records 50-75? If so, how? Thanks.
Garry Claridge Posted March 12, 2002 Posted March 12, 2002 For this situation I use frames. That is, I have a frame with the list of the found set and another frame with the details of the selected record. The same thing can be done using windows. All the best. Garry
Jeff Spall Posted March 12, 2002 Posted March 12, 2002 Hi, i usually open a little Javascript window for this which shows the record detail. This leaves your original search page showing. A HREF="javascript:openAWindow('[FMP-LinkRecID: format=record_detail.htm, layout=Layout1]','win2',375,300,0)" You can also put a Java 'close' on the response page so the window just shuts when you've clicked the edit button. This is also really useful to edit records showing in a portal if you specify the database as well and make it send a find to a link field. This is really a work-around, but it looks like you meant it regards, Jeff ps. this goes in the page head: http://www.william-reed.net/zharca/javacode.htm ....but I was having trouble pasting it into this post
JamData Posted March 12, 2002 Posted March 12, 2002 hey, I think there is another way..... you can store the "document.location" in a variable or in a cookie, and then, when you want go back to that found set, just replace again the document.location=to the variable or the cookie... the correct grammar is: "var founSet=self.location.href" this is a string with the full path of your current window. Then, if you want to get back, just put that string as the location of your window. self.location=foundSet; hope it helps [ March 12, 2002, 05:53 AM: Message edited by: JamedData ]
Recommended Posts
This topic is 8361 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