garrys Posted June 6, 2005 Posted June 6, 2005 Is there a way to hide(locked)status area in IWP? How? Garry
Vaughan Posted June 6, 2005 Posted June 6, 2005 Use a script that calls the Toggle Status Area [ hide, lock ]. Set this script to run when the file opens.
fful Posted June 30, 2005 Posted June 30, 2005 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
fful Posted July 1, 2005 Posted July 1, 2005 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!
T-Square Posted July 18, 2005 Posted July 18, 2005 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
cdefeciani Posted August 25, 2005 Posted August 25, 2005 (edited) 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, 2005 by Guest
FMWebschool Posted August 26, 2005 Posted August 26, 2005 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.
Recommended Posts
This topic is 7298 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