Jump to content
Sign in to follow this  
nutthick

Change Portal Visible Rows Dynamically?

Recommended Posts

I have a system printing invoices for customers. Each invoice contains two portals, one for part and one for labour. Each portal is 8 rows high. When viewing on screen I simply enable the vertical scrollbar to allow more than 8 entries. However, I'm now creating my layouts for printing and can't figure out how to make the portal increase it's row count to allow all the extra portal rows to show. Does anyone know a way of doing this?

Thanks

Share this post


Link to post
Share on other sites

The usual way of making a field as large as the biggest thing in it, then using 'sliding' does not work well for portals. So for printing line item type things, it is better to use sub-summary parts on a layout based on the line items table. This way it extends as far as it needs to, and can still show fields from the invoice table. If your parts and labor line items are in the same table, then this isn't too hard to do (sorting by line item type will group parts together and labor together.)

Share this post


Link to post
Share on other sites

Ender - Thanks for the advice. I'll have to do some reading about the sub-summary part, as I've never used it before. Parts and Labour items are in separate tables, but I'll see how I get on.

Share this post


Link to post
Share on other sites

I'm having trouble getting subsummaries to work. I've posted in another forum for help, but is there another way of doing it? A property of the portal I can alter maybe?

Share this post


Link to post
Share on other sites

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 account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

  • Who Viewed the Topic

    1 member has viewed this topic:
    millmaine 
×

Important Information

By using this site, you agree to our Terms of Use.