![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
FM 10 I have an INVOICES table. I have a table layout. I want to create a list view of all the Invoice records (kp_InvoicesID) through a portal so that I can see the most recent 20 Invoices within any Invoice. I thought creating a table occurence 'Invoices 2008_InvoicePortal_All Invoices' and a relationship between a field kf_InvoicePortal_All Invoices and kp_InvoicesID, with kf_InvoicePortal_All Invoices being a lookup. But this did not work. Please advise. THanks |
#3
| |||
| |||
|
|
On 12/04/11 4:16 AM, matthew wrote: FM 10 I have an INVOICES table. I have a table layout. I want to create a list view of all the Invoice records (kp_InvoicesID) through a portal so that I can see the most recent 20 Invoices within any Invoice. I thought creating a table occurence 'Invoices 2008_InvoicePortal_All Invoices' and a relationship between a field kf_InvoicePortal_All Invoices and kp_InvoicesID, with kf_InvoicePortal_All Invoices being a lookup. But this did not work. Please advise. THanks On a table layout, a portal must be put either in the header or footer, not in the body. the most recent 20 Invoices within any Invoice. I assume you want the most recent 20 invoices, for the same company as the current selected record in the table. - if so, then a *self rel from Invoices::company_id to Invoices::company_id - sort the portal invoice_id descending, and make it 20 rows. |
#4
| |||
| |||
|
|
On Apr 11, 3:56*pm, 105 <corti... (AT) internode (DOT) on.net> wrote: On 12/04/11 4:16 AM, matthew wrote: FM 10 I have an INVOICES table. I have a table layout. I want to create a list view of all the Invoice records (kp_InvoicesID) through a portal so that I can see the most recent 20 Invoices within any Invoice. I thought creating a table occurence 'Invoices 2008_InvoicePortal_All Invoices' and a relationship between a field kf_InvoicePortal_All Invoices and kp_InvoicesID, with kf_InvoicePortal_All Invoices being a lookup. But this did not work. Please advise. THanks On a table layout, a portal must be put either in the header or footer, not in the body. the most recent 20 Invoices within any Invoice. I assume you want the most recent 20 invoices, for the same company as the current selected record in the table. - if so, then a *self rel from Invoices::company_id to Invoices::company_id - sort the portal invoice_id descending, and make it 20 rows. I do not think you are right about 'cannot be in the body' since I have many portals in table layouts. I am looking to show all Invoices, related and unrelated to current customer, in layout. Thanks |
#5
| |||
| |||
|
|
On Apr 11, 4:14 pm, matthew<matt... (AT) reflectingdesign (DOT) com> wrote: On Apr 11, 3:56 pm, 105<corti... (AT) internode (DOT) on.net> wrote: On 12/04/11 4:16 AM, matthew wrote: FM 10 I have an INVOICES table. I have a table layout. I want to create a list view of all the Invoice records (kp_InvoicesID) through a portal so that I can see the most recent 20 Invoices within any Invoice. I thought creating a table occurence 'Invoices 2008_InvoicePortal_All Invoices' and a relationship between a field kf_InvoicePortal_All Invoices and kp_InvoicesID, with kf_InvoicePortal_All Invoices being a lookup. But this did not work. Please advise. THanks On a table layout, a portal must be put either in the header or footer, not in the body. the most recent 20 Invoices within any Invoice. I assume you want the most recent 20 invoices, for the same company as the current selected record in the table. - if so, then a self rel from Invoices::company_id to Invoices::company_id - sort the portal invoice_id descending, and make it 20 rows. I do not think you are right about 'cannot be in the body' since I have many portals in table layouts. I am looking to show all Invoices, related and unrelated to current customer, in layout. Thanks My apologies, I am confusing table view with form view. I want to see a list of Invoices in a portal on a form view layout. Thanks |
![]() |
| Thread Tools | |
| Display Modes | |
| |