December 26, 201213 yr Hello... Â Firstly Thanks All forum member. I learn many special feature on file maker by this forum. Â Im newbie on filemaker... I want build some special software for my business.. Â Now I need help. Â I Have 3 tables. Â 1- Product ID (Matching Field) Name Etc.. ( any spesification for this product. not important ) Â 2- Buying Details ID (Match Product ID) Quantity Price Total Price ( quantity * price ) and below sum total price (sum= total of total Price) Â 3- Selling Details ID (Match Product ID) Quantity Price Total Price ( quantity * price ) and below sum total price (sum= total of total Price) Â --- My main layout is Product layouts. Buying and selling details view on portal. Â (Buying and Selling jpg on attach..) Â But my problem start here. Â I add another loyout for report how many buy&sell. Â I buy item on 2 times, sell 1 times. Â On report buying see 2 times but selling almost 2. But I sell 1 time.. Â I change field property ( try index type, etc.. ) but nothing change... Â Please help me. Thank you.
December 29, 201213 yr Buying and Selling tables contain same fields and should be in same table with a Type field saying which it is. Sometimes you can go by whether quantity is plus or minus to determine the Type but not always since reversals could be required. Once tables are combined, reporting becomes simple and summary fields take care of the rest. :-)
December 31, 201213 yr Author Sorry for bad english. Ok. I explain my problem again.  Firstly I have product table. This table including product name, part number etc details. I show this details on product layouts. Near this information; I have 2 tabs. Order and selling.  Order: How many quantity, when, order number. Selling : How many quantity, invoice no, sell date.  I prepare example for this problem. Please look attach image file. (problem.jpg)  and I send my table's relationship. (relation.jpg)   How I can report detail of my products?  Â
January 1, 201313 yr Your English is very good but my prior suggestion still stands ... Buying and Selling are best handled by having them in the same table to begin with. Using a Type field separates them so you can still display them in different portals but they are truly the SAME entity ... transactions of a Product. The reason your setup won't work (easily) is because there can be different numbers of buying and selling and, although you can use sliding portal (for one side or the other while reporting from the other child) it isn't suggested here since your current model would continue to cause you problems down the line. If you combine the Buying and Selling tables, also combine their lines and your solution will become MUCH easier. :-)
Create an account or sign in to comment