Can anybody please give me a idea how to filter this out? When Somebody buy something, they can add optional warranty to their product. I need to create a report when they attached that warranty, I need to see the product too. I don't need to see any other sales. Warranty for that product should be under same invoice number. Please see below picture.
I have two types of warranty. I try to filter it out using "Contain, IN" by giving warranty name and SKU doesn’t not work. When I do that it only gives me warranty name on the invoice. Please see below picture for the result.
How do I get the product name also when they attached the warranty too.(I have two type of warranty too, For a example X and Y. When some body attached X or Y for product, I need to see the product and warranty type only). I would really appreciate if anybody could tell me how to get that.
Thank you so much
Related
I'm trying to build a view that calculates the potential material quantities for my company. I'm doing this code in Microsoft SQL Server 2008.
In the view we have a Material Number, a date, demand quantity, received quantity, and an initial quantity.
I have a date listed for when the item demand is needed, and when items are expected to be received. On each listed date, I'd like to know what our inventory will look like for each item. In my head I have determined what I need is the following:
CurrentOnHand - DemandQuantity + ReceivedQuantity = NewTotal
The new total will move down to the next row and will take the spot of the CurrentOnHand, and the calculation will be performed for each date on the item.
How would I go about achieving this? Do I need to make some sort of running total? Any help would be greatly appreciated. Thank you for taking the time!
Corey Hall
I would have posted some code, however I completely have no idea where to start!
So I want my employees to use my VB application to request holiday (that bit is done). But now I want them to see all the holidays they have requested in a list.
They each have their own account and their username is present on the holiday table in the database.
It must be able to show all holidays they have booked and not just one, preference is in a list form. I'd also like to exclude 1 column from showing.
Is this possible?
I really appreciate your help in advance.
I want to keep track of credits/laway/rent to own info.
I have [Clients] table, [Credit] and a child [payments] table, to keep track of payments of multiple credits.
I want to make a Split form where I can see credit details ex. (type, amount of credit, amount of credit currently paid and last amount due) with a record of all payments done on the subform.
Now I ran into blockade when trying to use sum() or Dsum() to calculate the "amount of Credit currently paid" and "amount of credit due" in a text box on the form.
I think I´m missing something in the criteria part for I don´t know how to pass the current creditID key to group and calculate ???
the closest I´ve gotten is =DSuma("[MontoPagado]","Pagos","[IDCreditoFK]") but this adds all up and I really need something like:
"amount due" =[table1]![Field1] - SUM([table2]![Field2]) Based on Current "creditID"
Its a basic credit/layaway plan payments database I hope someone can help for I have spent days with very Little sleep and this is the only thing holding me up...
Download copy here ----> https://mega.nz/#!gp0lSRLA
Thank you in advance!!
He there,
You can use the DSum, but slightly different
=DSum("[MontoPagado]","[Pagos]","[IDCreditoFK]=" & [CreditorID])
Here, [CreditorID] should point towards the CreditorID control on your form
Thank you! Thank you! Verlaat you saved me, I don´t why I can´t grasp the concept or rules of building criterias and expresions?
Finally this worked perfect:
=[TotalDelMonto]-DSum("[MontoPagado]","[Pagos]","[IDCreditoFK]=" & [IdCreditos])
I was told about pre-filtering when writing reports in CRM 2011 and it sounded like something I should add to my knowledge base so I Googled it and found:
MSDN
PowerObjects
and a whole bunch more. These gave me a good understanding of the how for both automatic and explicit. The one thing I missed though was why. I mean in general the articles said things like context specific or reduce the size of the query but I failed to translate that into the nuts and bolts business case example. For example one of the articles stated that it will greatly enhance your reports but what does that mean to the person in sales running the report.
In other words I could easily add CRMAF_ to my queries but how it makes sales reports better I couldn't explain. Note I used better as that is the word the author of one article used so I took that to mean extra capability not better performance...?
So a quick business case understanding would be great.
Thank You
JB
It's very easy to make an example.
You need to create a simple report to display a list of accounts created starting from a selected date.
You just do a SQL Query as
SELECT * FROM FilteredAccount WHERE createdon => #selected_date
You publish your report and everyone is happy.
One month later there is a new requirement and you need change the report because is necessary to filter also by country (or city, or a custom field)
Would you prefer to edit the report, adding parameters (and change the queries too) or enable pre-filtering and allow the user to apply some filters (based on fields that maybe will be added in the future) before your report runs?
I want to ask some question, which about that"
Create a Query which accept two parameters,Restaurant and Category, and display results showing Branch, Category, Description, Date,
Quantity, Price and Total Sales, where Total Sales is calculated as Quantity * Price.
How can I do that? Please help me,thanks
You might like to read: http://support.microsoft.com/kb/304352
A couple of things that are needed to fully answer your qestion:
Version of MS Access
Table structure
But with that said, the item you are looking for is accessible in the Query By Example (QBE) grid.
Unless you are doing somethign very tricky with the data types, then you can just type the name of your 'variable' in the Where section of the grid in the column of the field that you wish to be applying the criteria to:
[*parameter*]
When you run the query, this will cause a pop up window to display that you can put your parameter into and hey presto - all solved.
As mentioned above, you should also read the KB article referenced. You can also use standard form syntax to link the parameter to a form field.
*formname.fieldname*