June 6, 200520 yr Use a script that calls the Toggle Status Area [ hide, lock ]. Set this script to run when the file opens.
June 30, 200520 yr In IWP, when you view records by list, you can only see 25 at a time. Is there a way of duplicating the status area's little book, which takes you through records 1-25, then 26-50, then 51-75, and back and forth, with buttons? Otherwise there is no way of getting to the records beyond the 25th, right? I'm assuming it involves some type of calculated fields, but I'm inexperienced in scripting. Ideally there would be two buttons: next 25, and last 25 Then a fields showing you the range...i.e. 26-50, or, in the case of the last set, say 101-112 Are there any examples anywhere of the way to do it? Thanking anyone for help. Frank
July 1, 200520 yr I'm already using portals in each record, to show images from another related table. Could you possibly elaborate a little more regarding how to do it your way? Would appreciate it greatly. Also, I have a header with some buttons. This works fine in Filemaker, the records scroll underneath it. But in IWP, the header scrolls up with the entire page, and the buttons then are off the screen. Would the above suggestion also solve this problem? That is, I'd like a fixed small palette of buttons that does not move in the web browser window, while the rest of the records scroll up and down. Thanking anyone for any ideas. If you head me in the right direction, I may be able to (hopefully) figure it out on my own!
July 18, 200520 yr I am not at my home machine right now, but I created a standard set of navigation buttons that I paste on every layout to enable navigation in IWP. The buttons are essentially: << -- [Previous Page] < -- [Previous Record] > -- [Next Record] >> -- [Next Page] Each is linked to a script. The Next/Previous could just be linked to the Next/Previous record command, but I prefer to put it in a script in case I need to carry out any other special stuff. Both the "page" scripts check to see whether the current layout is a single record layout and I don't recall what they do on the single record display. Basically, I want the same buttons on every layout, and don't want to program different button types on different layouts, so I check the layout in the script, and do something different on single record layouts. The Previous Page script checks the current position in the found set, and if it's greater than 25, subtracts 25 from the current position and goes to the new position. If it's less than or equal to 25, it goes to the first record in the set. The Next Page script checks to see whether the current position is within 25 of the record count, and if so, goes to last, otherwise it goes up by 25. The benefit of setting these buttons and scripts up is that I can copy and paste the buttons with their attached scripts on every layout and rest assured that IWP navigation is handled. HTH, David
August 25, 200520 yr Can you give me the specific scripting code you wrote to do the "next page" and "previous page" navigations? I have been trying for a week to get this to work with no luck. MANY THANKS! Edited August 25, 200520 yr by Guest
August 26, 200520 yr try this: Go to Record[No dialog; Get(RecordNumber) +25 or however many you want to jump forward Then to do this in reverse, use -25 or the number you want to go back.
Create an account or sign in to comment