Display total of contents of 'fields a' for records that have identical 'fields b' in common

Please forgive me for my inability to put this in simple
terms. I tried to search the forums for a solution but when you
can't formulate your question in a pithy manner it's nigh
impossible!
I am attaching code for a query that grabs all the records in
a few tables that relate to workshops that have been attended but
not yet paid for. What I want to do with them next is to add the
"WorkshopCost" field for each of the records that has an identical
"SchoolName" and display the result, so that we have a subtotal for
each school.
I suspect this should probably be very easy but for some
reason I can't figure out how it should be accomplished - if there
is another posting where this is answered I would be very happy is
someone would point it out! or otherwise give me a shove in the
right direction.
I'm thinking I need to do something with the array created by
my query...?

If I am understanding correctly, you would like to display a
subtotal for each school. A simple option is to use the "group"
attribute of cfquery. Then you could calculate the subtotal as you
loop through the results and display it after each section. Another
option is to use a QoQ.
Keep in mind that when using "group", your sql query
must order the results the same way. In other words, if you
are grouping by "s_SchoolName" then your query must also ORDER BY
s_SchoolName. Otherwise, the results will display incorrectly.

Similar Messages

  • Unable to save PDF's that have editable fields

    I am unable to save forms that have editable fields. I get the error "The document could not be saved. The disk you were saving to or the disk used for temporary files is full. Free some space on this disk and try again, or save to a different disk"
    I am running windows xp, and started with reader 10.1.4 having this issue, now i upgraded to 11 and same results. My co workers can save the same form and i have over 80 gb of free space on my hard drive which is where i am saving it to. I have tried saving it to other locations on my hard drive but get the same message. I can however save pdf files that have no fillable forms in them just fine.
    I could really use some help.
    Thanks

    Figured out prtected mode was set to enabled on startup. Turned that off and no more problems.

  • How can I use TopLink for querys that have two and more tables?

    I use TopLink today, and I can use one table to query, but how can I use TopLink for querys that have two and more tables?
    Thank you for see and answer this question.

    You can write a custom SQL query and map it to an object as needed. You can also use the Toplink query language "anyOf" or "get" commands to map two tables as long as you map them as one to one (get command) or one to many (anyOf command) in the toplink mapping workbench.
    Zev.
    check out oracle.toplink.expressions.Expression in the 10.1.3 API

  • Sorry but I think this wrong, I know that in Colombia there and two of the three operators already have 4G/LTE networks, what happens is that the iPhone should be expected to send the update software for computers that have this tercnologia activate them,

    sorry but I think this wrong, I know that in Colombia there and two of the three operators already have 4G/LTE networks, what happens is that the iPhone should be expected to send the update software for computers that have this tercnologia activate them, that my Iphone or receiving 5 supports 4G LTE,
    Thank you for your attention

    Apple needs to test the carrier if they offer LTE as expected.
    If your country/carrier is not on the list then there's no LTE on your iPhone.
    http://www.apple.com/iphone/LTE/
    It's between the your carrier and Apple. There's nothing you can do except feedback to Apple:
    http://www.apple.com/feedback/iphone.html

  • Quick pays for employees that have a direct deposit payment method?

    Can you perform quick pays for employees that have a direct deposit payment method?

    Dear User,
    You can perform the activity, only pre-requisite is the the given employee should have a Direct Deposit Payment Method associated with him.
    So, when you perform Quickpay and Quickpay-Prepayment, it will take the Direct Deposit Payment Method.
    Otherwise, if your payment method is blank for the employee, the Quickpay-Prepayment will take the default Payment Method defined in your Payroll (Generally this is Cheque or Cash)
    Regards,
    Ameya

  • Uncheckd credit for documents that have already been released

    Hi,
    How to unchecked credit for documents that have already been released?
    Regards,
    Jr.SD

    Hi,
    if you want release the sales order  documents use vkm3,Delivery and order u need to  release u have to use vkm4,
    only delivery vkm5.This is the away u can release the documents any further clarification u require revert back.
    Regards,
    venkataswamy.y

  • How do I delete Statistical Forecasts for components that have no history

    Hi
    How do I delete Statistical Forecasts for components that have no historical data, but the Stat forecast model is still forecasting values for components.
    Other than creating a macro to clear the key figure columns interactively in the planning book, where in the model or background job do I activate or set that components without 12 months historical data are not forecasted .i.e. zero values in forecast for these components?
    Thanx
    Keegan

    Hi Keegan,
    To my knowledge there is no standard way you can tell the system not to forecast if the last 12 periods are zeros.
    We have the same issue and we use 3 methods to get around this:
    1. A macro as you said
    2. Create a phase out profile in life cycle profile with parameters, start date today to some 12/31/9999 and set the "Before start date, apply constant factor" 100% and "After start date, apply constant factor" 0%
    and check the indicator " Life cycle planning " in master forecast profile.
    This puts zeros for all future values but does not check if the history has zeros in it.
    3. Delete unwanted CVCs so that we will not see any issues with disaggregation and junk data.

  • Getting letters for items that have been removed from my credit report

    I have gotten several credit cards in the past month as I have been working on rebuilding my credit. Over the past few weeks I have been receiving letters from collection agencies for items that have been removed from my credit report. Has anyone else had this issue? Should I just throw this stuff away since it's not longer being reported on my credit report and the collections are so old they've been removed from the report? I am freaking out a bit. Any advice is welcome.

    wonderwoman1970 wrote:
    They were removed because they are over 8 years old.They can still try to collect, they just cannot place it on your reports. If its also beyond SOL in your state, you have to option to sent them a Cease Communications letter, charmingly refferred to as a FOAD letter. (Google it to find the meaning of that acronym).They will just sell it to another JDB, who may send you another collection notice. Keep all correspondence regarding this debt in order to keep track of it. You also have the option to settle it for a small percentage - I would suggest offering no more than 5-10% of the original amount (not some inflated "new balance"), and in your offer letter refer to it as "old, time barred debt, that is not a current financial obligation" but that you are willing to settle only to close out the account.

  • Question for those that have returned hot MacBooks.

    For those that have returned, for exchange, a MacBook for heat, did you return it before the 14 day return perriod?
    Mine is at 70C at idle (just running iTunes and Safari) and the top of the unit on the keboard has reached 50C. I took mine in and the Genius said it was within spec. Just kinda currious.

    Closing this question.

  • How do I create a Table of Contents in InDesign CS6 for print that easily converts to epub?

    How do I create a Table of Contents in InDesign CS6 for a print book that easily converts to epub? 
    Can anyone point me to a link for a step-by-step (not a video) on setting up all the elements of a print book properly (pages, table of contents and index) so they will convert and reflow perfectly from print to epub in InDesign CS6. This is not about building an ebook from ground up, but taking 50 backlisted print books (converted from old versions of Quark to InDesign) that now need to be converted to epub formats.
    OR could someone point me to the link in the Adobe InDesign CS6 support that explains how to create a Table of Contents for a print book (5.5" x 8.5", 288 pages), one that will convert when the file is converted to ePub (for MAC OSX)?
    Just downloaded the 706 page inDesign CS6 reference manual from Adobe <http://helpx.adobe.com/pdf/indesign_reference.pdf>  but there's not even a search feature on the pdf file.
    Up until this week, we have only done print books, creating the TOC the old fashioned way, as a fixed page, comprised of two columns: page numbers and chapters/subject. The files I have created are taken by our printer and printed beautifully.
    However, when I convert the same book to epub in CS6, the character and paragraph styles converted beautifully - but everything else is all over the place! The table of contents is on different pages, the columns split apart. That goes for the page contents as well - everything is all over the place. when it's converted to a pdf -- total perfection. Never any problems converting with perfection to pdf format and reading those on the various readers.
    (Thank you so much in advance for any help).

    <http://helpx.adobe.com/pdf/indesign_reference.pdf> Adobe Digital Reader does have a search feature for reading pdfs. Found the TOC instructions on page 176 of 706 pages. 

  • Returning only records that have no entry in a specific field

    Hello,
    I'm new to this forum and relatively new to Crystal Reports, so I apologize if this information is "plain as day" somewhere.  I've been hunting for this info for quite a while and can't find anything that makes sense!
    I am trying to put together a very simple report that will return only records where a certain field is blank.
    It is an Access database, in an information management program specific to our type of business.  CR 11 software was included with the LIMS (Laboratory Information Management System), as the reports generated from the LIMS software are in CR.  I've learned enough to be able to tweak reports and make some basic reports, but I can't find a simple answer to what I think is a simple question! 
    I have the report set up to access the following fields in the database:  Invoice number, Client name, Due date, Invoice amount, and Payment Received.  This will be used as a "cross check" - not as any major accounting tool - as the Payment Received field is simply the date that the payment was received.  If no payment has been received, the field is left blank.
    I want the report to return ONLY those records where that field is blank (i. e. a list of invoices/clients whose payment has not yet been received).
    Ideally, I would also like to be able to return only those records where that field is blank OR within a certain date range (i. e. less than 30 days from the date that the report is run).  However, we'll probably only use this report a couple of times a month, so that is not as critical.
    I know I need to filter the records according to the Payment Received field, but don't know how to construct a formula that says "just show the fields where there is nothing entered."
    Thank you!
    Brenda

    This is the hardest function to find:  IsNull
    If isNull(field) then  
        //  if the above fails on a numberic field or text field then see the following two-some databases are picky.
    If IsNull(field) or field=0 then  //this one maybe needed for a numeric field
    If IsNull(field) or field=""    //  this one maybe needed for a text field
    if IsNull(field) or field=<value>
    or
    if IsNull(field) or field like <value*>
    You always want the IsNull statement to be the first statement, and it is especially usefull when testing for not equal
    If IsNull(field) or field <>  <value>

  • Combining PDFs that have identical user-filled fields in them

    I already have a more specific question about this process posted elsewhere here, but I want to back-up a bit and ask this higher-level question.
    We have an annual event that requires us to create a number of different PDFs, by category, that have user-filled fields in them. Of course we create these forms and create the user fields. We then send these out, then get them back from multiple users who have completed them. We now want to combine all of these submitted PDFs into a single PDF or portfolio (whatever works!). From what I've read so far on this, the problem we have with combining all these into one document comes from the fact that all these completed forms come back to us, completed by their users -- but since many fields all have the same names (which we of course assigned originally) in the completed PDFs that come back to us, Acrobat seems to read all the fields that have the same field name and override all the entered data in those fields with the user-entered data in only one of them (I assume the first on it comes across). Is that correct? If so, what's a logical work-around for this? Sending out PDFs to each user that have field names that are unique to that user only? That seems kind of archaic, but maybe that's it... Although I'm also guessing that someone will suggest a javascript code to use in our files that may resolve this problem. I can copy and paste code, but I'[m no javascripter, so I'd need to know exactly how to do it... Any ideas? Thank you!   - Sean

    For Acrobat PDFs, you will need to flatten each form before concatenation. Merging multiple forms together is called concatenation. Warning: Flattening the form fields will make the PDF fields unreadable and unfillable; and it would be wise to save the merged or flattened document under a different file name. There are Visual Studio .net and JAVA developer libraries that can perform these tasks; but you will need programming experience or hire a developer.
    For more information visit:
    http://www.nk-inc.com/software/fdftoolkit.net/help/2.0/?topic=html/Overload_FDFApp_FDFDoc_ Class_PDFFlatten2Buf.htm
    http://www.nk-inc.com/software/fdftoolkit.net/help/2.0/?topic=html/Overload_FDFApp_FDFDoc_ Class_PDFConcatenateForms2File.htm
    Also, try searching Google for software that can "Concatenate PDF Forms to file":
    https://www.google.com/search?q=Concatenate+PDF+Forms+to+file

  • Query for applications that have been superseded.

    I need to return a list of applications that have not been superseded in a report. I can do this very easily in the console, but I can't seem to find any views that show any information about application supersedence. 
    While we are at it, has anyone spotted a diagram showing the relationships for Applications in the views for SCCM 2012?  Unfortunately looking through the existing reports doesn't help all that much because the way the queries are structured is very
    confusing.  Which also may explain why the application reports frequently have conflicting numbers in the same report.  By this I mean that these multi-part reports that show a bunch of different graphics, often have numbers for the same application
    that don't match up. 
    My customer has basically decided to ignore just about all the application reports that come in SCCM since they so frequently don't agree with themselves or the SCCM console.  That's why I'm trying to understand the model so I can try and give them
    some better reports.
    Bob

    You can get a Excel list of SQL views here:
    http://gallery.technet.microsoft.com/SCCM-Configmgr-2012-R2-SQL-5fefdd3b

  • Cost settlement only for assets that have been paid

    Dear all,
    i need to do, at the end of the month, the cost settlement from wbs to asset only for the the part of asset that have been paid.
    I don' t know how to do this using standard sap funcionalities.
    Theonly way that we think to use is:
    - setlle of the entire wbs
    - transfer posting (FI) from asset to wbs of the part that have not been paid.
    Some of you can help me?
    thanks
    Elena

    Hello friend,
    Because I do not understand your requirement to capitalize from AuC to final asset only only those costs for goods/service that have been paid - I would like to give warning that you may not have the requirement correct.
    This would not be your fault, but the fault of the accounting users giving you the requirement is my guess.
    Receiving against PO may be MIGO, and then posting the vendor's invoice later on when it's received, is MIRO usually.
    The actual payment to the vendor is a subsequent posting known as a check cut.  The accounting for a check cut does not create the AuC value, nor does it meet any accounting requirement for capitalization.
    The accounting requirement for capitalization in almost all countries would be MIGO.  Because we have posted the receipt of goods or services, we now owe a vendor somewhere.  The liability will be in your non-specific vendor account, GR/IR which stands for Good Received/Invoice Received.  MIRO clears out the amount from your GR/IR account, moving it to your reconciling account in the g/l for a specific vendor sub-ledger account.  The check cut then removes specific liability from reconciling account, and removes cash from g/l cash account.
    Recognizing that we owe the cost of the goods receipt MIGO, it is already fair and required to capitalize the costs to final assets and commence depreciation expense (assumption you have placed the capital fixed assets into service). 
    So, neither MIRO nor check cut should delay your capitalization from AuC to final completed assets unless your requirement is different that SAP basic scenario.   Regards

  • Transport of total table contents iso only the changes within that table

    Dear experts,
    Due to some errors i'm now stuck in a situation where in DTAP clients a custom built table is not consistant any more. e.g. In T(est) client some entries exist that are not present in D(evelopment) any more. Modifications of entries in the table will result in a transport only containing the modifications.
    I'm looking for a way that I can overwrite (delete and re insert) the whole table in the DTAP clients in stead of only the modifications.

    you should be able to create a transport and manually add the table entries.
    SE10 and create a transport, and workbench request.
    double click to get to the objects screen and go to change mode.
    entry program id : R3TR
    object : TABU
    Object name : your z table name
    you will see a key symbol appear on the line, click this,
    then double click the empty line to add the key field values of the entries you want to add to the transport.  You should be able to find wild card values to select all entries of the table.
    on the tool bar is a 'table contents' specified by the key entries which will let you test select the entries from the table.
    This transport can then be released and transported.

Maybe you are looking for

  • Barcode Problem with free 3 of 9

    I have an application (vb6) that opens a report and passes the parameters to it to create the report on the fly(they are passed as strings). one of the fields is a barcode ( I am using a free font - free 3 of 9). you can find it at ( http://www.squar

  • Getting errors in XP mode even after removal of the problem KB????

    I removed the KB??? which was mentioned as a problem with the integration features, but I'm still getting errors in XP mode. One issue is that the icons are sometimes missing which I click on startup. Trying to logoff usually shows that CB monitor an

  • Ipad mini facebook problems

    i have an ipad mini . whenever i update anything on it , it shows via phone on facebook instead of via ipad mini.. how to change that to appear as via ipad mini?

  • The JNLP nightmare - a summary

    our application has the following preconditions: * one EAR should work on the lab, the validation and the production environment with no security warnings * we have to use 2 jnlp files * we use native libraries the conclusion we've drawn: this isn't

  • Query on ALV List Subtotal texts

    Hi, I am using the FM REUSE_ALV_LIST_DISPLAY and my internal table would have data categorized by for ex. two company codes 1000 and 2000. My requirement is for the subtotal text to display something like this during the subtotals- Total: 1000 <Compa