Jump to content
View in the app

A better way to browse. Learn more.

FMForums.com

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

Featured Replies

  • Newbies

Hi All.. make sure is this the right category for my problem:

Inside my db, tbl_invoice_items i have:

prod_code | monthOrder | invoiceNum | quantity| remarks

111 | Jan | ref001 | 50 |

112 | Jan | ref001 | 20 |

111 | Feb | ref002 | 10 |

113 | Feb | ref003 | 40 |

... and so on...

I need to find out the top 10 best selling products. I have done a field to calculate the total unit sold. I know i can use subsummary to preview the top 10... but i need the effect of a table view and able to enter the data (remarks) at the same time. If i just sort it and view it in a table view , i will have duplicates records showing up...

Please help....

confused.gif thanks

Why would you have duplicate records? That does not seem like a very good idea to me.

  • Author
  • Newbies

actually there is another db call tbl_invoice which keeps track of all the invoice number and the billing organisation's address. then the tbl_invoice_product will have the invoice number and the list of products under that invoice. in 1 month, there could have many invoices, ordering the same products. I need to find out the top10 most sellable products. Is there a way to achieve it without using sub summary, as sub-summary is in preview mode and i need to enter some data, like remarks for each most sellable item.

thanks~

"I know i can use subsummary to preview the top 10... but i need the effect of a table view "

You "can use subsummary to preview the top 10..."; to me that means that you are finding the necessary set of records to have an accurate subsummary. (Let's call that field: s_s_item)

Here is one design approach you might consider.

Create a new layout. On that layout and in the body place the field s_s_item. (not in a subsummary part). Go to the layout in which you "use subsummary to preview the top 10..." and perform the find which displays the top 10 in the subsummary report. Now go to the new layout. Does the field s_s_item display the correct number of the found set? Can you construct a "table" to display the data you want displayed. including blank fields to allow comment entries? Or do you need to go to Table View? And if the latter, can you arrange the layout such that when you go to Table View you get the results you desire?

If this more or less works, but you are having problems with duplicate records, then you must design your solution to not have duplicate records.

Solutions are basically a matter of design.

Create an account or sign in to comment

Important Information

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

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.