![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
In one of my databases I have a portal. Eleven records fit nicely into my layout; however some clients have twelve or more. No matter how I try to print them, FM7/Windows 2K will only print the first eleven. I've tried displaying the records I want printed or enlarging the portal, but it's the same problem - as soon as I get more than eleven records, I get two pages - both showing the first eleven records in my portal. I can work around it - print one page, disassociate the first eleven records, print the page again, relookup in original database (thankfully, I *have* that option) but, well, it's inelegant and timeconsuming and should not be necessary in a relational database. Any ideas how I might tell Filemaker to print records 12-x in a portal, and only them? |
#3
| |||
| |||
|
|
You can print a multi-page layout with a large portal, by expanding the layout body and then making the portal show more rows. |
|
You are really better off to design a layout in the related table occurrence, as a columnar list/report, and put the fields you want in that layout. |
|
In the Browse mode in the Table A layout, click the pushbutton. That will take you to the B Report layout, with only the records related to the current record in Table A showing. |
#4
| |||
| |||
|
|
My problem is that I really want to print information from both files, so I'd be using a portal anyway... |
| Ah. That's where it falls down. What I get when I use my 'go to related records' script the previous found set in File B. It'll open the specified layout, so it's clearly doing *something*, but the something is not 'go to related records/show only related records. It's not even opening File B in the new window unless I tell it to do so. |
#5
| |||
| |||
|
|
Lynn allen wrote: Catja <Valendon (AT) gmail (DOT) com> wrote: My problem is that I really want to print information from both files, so I'd be using a portal anyway... No, if you print from the child file, (or a layout based on a TO of the child file), it's really easy to put the related Invoice information on the header without a portal. Just place the related fields directly on the layout. Try it, it works! I've had enourmous problems in the past with information not updating quickly enough. when relying on related fields. I suddenly found myself with the date from one record and the quantity from the next - and I had to work that one out and rebuild the whole database from scratch which took about two days. I can't say why our setup has these problems - Windows Small Business Server (dedicated singing and dancing machine, running only Win server and FM server); 4 clients - but it was demonstrable, I've got a screenshot somewhere to prove it. (And no, the specs are not negotiable) BTW, this process of printing from the child file (or layout based on child file TO) has been in use since FM3. It's the only way to get a variable number of invoice line items to print properly. It does work, trust us. It didn't when I tried it and I can't see where I went wrong. :-( (I did the same on my Mac - two files, related by one field, and it worked just dandy.) Ah. That's where it falls down. What I get when I use my 'go to related records' script the previous found set in File B. It'll open the specified layout, so it's clearly doing *something*, but the something is not 'go to related records/show only related records. It's not even opening File B in the new window unless I tell it to do so. This is expected behavior. A GTRR (go to related records) does NOT actually go to a new window, what it does is isolate the found set of related records. panto mode> Oh no it didn't. It changed File B to the specified, not-used-by-anything-else layout. And that was all. I know it seems counter-intuitive, but you'll get used to it. I'd write the script like this: (pseudocode) Go to Related Records (show only box checked) Open New window, name, size & place it. Go to Layout based on Child TO At which point I had the last found set, all scrambled up. I'm even more puzzled because the Mac obliged immediately and it's a simple enough step that I can't see how I could have messed it up. (Relationship? Check. 'Go to related records, show only related records?' Check. Correct find set? No.) Oh well. Back to plan B. I've tried to think of ways of *not* using a portal, but there really doesn't seem to be one; not the way the database is set up, and it's set up that way for good reasons... Thanks for your help, Catja |
#6
| |||
| |||
|
|
I can't say why our setup has these problems - Windows Small Business Server (dedicated singing and dancing machine, running only Win server and FM server); 4 clients - but it was demonstrable, I've got a screenshot somewhere to prove it. (And no, the specs are not negotiable) BTW, this process of printing from the child file (or layout based on child file TO) has been in use since FM3. It's the only way to get a variable number of invoice line items to print properly. It does work, trust us. It didn't when I tried it and I can't see where I went wrong. :-( (I did the same on my Mac - two files, related by one field, and it worked just dandy.) |
#7
| |||
| |||
|
|
Catja Pafort <usenet (AT) greenknight (DOT) org.uk.invalid> wrote: I can't say why our setup has these problems - Windows Small Business Server (dedicated singing and dancing machine, running only Win server and FM server); 4 clients - but it was demonstrable, I've got a screenshot somewhere to prove it. (And no, the specs are not negotiable) BTW, this process of printing from the child file (or layout based on child file TO) has been in use since FM3. It's the only way to get a variable number of invoice line items to print properly. It does work, trust us. It didn't when I tried it and I can't see where I went wrong. :-( (I did the same on my Mac - two files, related by one field, and it worked just dandy.) This right here is a clue. As far as I'm aware, FM Server is not certified for Small Business Server. The fact that it worked well on your Mac should tell you that there is nothing wrong with your files, the implementation of the scripting, or FM itself. You did it right. Taking the same files and hosting them with SBS and suddenly it doesn't work? What's the operative factor? |
|
Is there any way you can get those files hosted on Win 2000 Server? That is an absolutely rock-solid hosting platform for FM Server, well proven and even more stable than Mac hosting. |
#8
| |||
| |||
|
|
I am late in the discussion, so I could be completely out of the game, but a normal 'good practice' is to show to the user portals and to print on the related file (then with no limit) and come back where the user were. It can be transparent to the user. Why couldn't this apply to you ? |
#9
| |||
| |||
|
|
Remi-Noel Menegaux wrote: I am late in the discussion, so I could be completely out of the game, but a normal 'good practice' is to show to the user portals and to print on the related file (then with no limit) and come back where the user were. It can be transparent to the user. Why couldn't this apply to you ? What I'm trying to print is information from two files - the stock file (which contains only the current leaflets, plus the quantities for each month etc etc) and the client file (which contains the full address of anyone we've ever dealt with. What we print are monthly stock reports - so client name/ quantities and on the next page, the address. As we're doing a hundred or so each time, with not enough people in the office, doing anything other than 'print report, print address' would lead to, frankly, chaos. Right now I print one page (the stock figures in a portal), switch layout, print address, go to next record, switch layout... and it works exceedingly well. Apart from the fact that it takes long enough. A solution that switches between the files and sorts records for each individual report would take a lot longer and be far more cumbersome; particularly as the current solution is elegant, easy, and is transparent to the users. (When you provide solutions for a small company that is very much a consideration. The previous access 'solution' was a nightmare.) |
#10
| |||
| |||
|
|
Catja Pafort <usenet (AT) greenknight (DOT) org.uk.invalid> wrote: I can't say why our setup has these problems - Windows Small Business Server (dedicated singing and dancing machine, running only Win server and FM server); 4 clients - but it was demonstrable, I've got a screenshot somewhere to prove it. (And no, the specs are not negotiable) BTW, this process of printing from the child file (or layout based on child file TO) has been in use since FM3. It's the only way to get a variable number of invoice line items to print properly. It does work, trust us. It didn't when I tried it and I can't see where I went wrong. :-( (I did the same on my Mac - two files, related by one field, and it worked just dandy.) This right here is a clue. As far as I'm aware, FM Server is not certified for Small Business Server. |
|
The fact that it worked well on your Mac should tell you that there is nothing wrong with your files, the implementation of the scripting, or FM itself. You did it right. Taking the same files and hosting them with SBS and suddenly it doesn't work? What's the operative factor? |
|
Is there any way you can get those files hosted on Win 2000 Server? That is an absolutely rock-solid hosting platform for FM Server, well proven and even more stable than Mac hosting. |
![]() |
| Thread Tools | |
| Display Modes | |
| |