I need help with programs from my MacBookAir.

Hello. I've intalled programs on my MacbookAit that I don't need anymore and I have no idea how to remove them from my laptop. I've been a PC user and I knew there how to remove them but here I just don't know. I know that dragging them to the trash won't work. I want to remove them and free the space that is taking. I hope you guys can help me with this. Thank you Very Much!!!

Uninstalling Software: The Basics
Most OS X applications are completely self-contained "packages" that can be uninstalled by simply dragging the application to the Trash.  Applications may create preference files that are stored in the /Home/Library/Preferences/ folder.  Although they do nothing once you delete the associated application, they do take up some disk space.  If you want you can look for them in the above location and delete them, too.
Some applications may install an uninstaller program that can be used to remove the application.  In some cases the uninstaller may be part of the application's installer, and is invoked by clicking on a Customize button that will appear during the install process.
Some applications may install components in the /Home/Library/Applications Support/ folder.  You can also check there to see if the application has created a folder.  You can also delete the folder that's in the Applications Support folder.  Again, they don't do anything but take up disk space once the application is trashed.
Some applications may install a startupitem or a Log In item.  Startupitems are usually installed in the /Library/StartupItems/ folder and less often in the /Home/Library/StartupItems/ folder.  Log In Items are set in the Accounts preferences.  Open System Preferences, click on the Accounts icon, then click on the LogIn Items tab.  Locate the item in the list for the application you want to remove and click on the "-" button to delete it from the list.
Some software use startup daemons or agents that are a new feature of the OS.  Look for them in /Library/LaunchAgents/ and /Library/LaunchDaemons/ or in /Home/Library/LaunchAgents/.
If an application installs any other files the best way to track them down is to do a Finder search using the application name or the developer name as the search term.  Unfortunately Spotlight will not look in certain folders by default.  You can modify Spotlight's behavior or use a third-party search utility, Easy Find, instead.  Download Easy Find at VersionTracker or MacUpdate.
Some applications install a receipt in the /Library/Receipts/ folder.  Usually with the same name as the program or the developer.  The item generally has a ".pkg" extension.  Be sure you also delete this item as some programs use it to determine if it's already installed.
There are many utilities that can uninstall applications.  Here is a selection:
AppZapper 2.0.1
AppDelete 3.2.6
Automaton 1.50
Hazel
AppCleaner 2.1.0
CleanApp
iTrash 1.8.2
Amnesia
Uninstaller 1.15.1
Spring Cleaning 11.0.1
Look for them at VersionTracker or MacUpdate.
For more information visit The XLab FAQs and read the FAQ on removing software.

Similar Messages

  • Please i need help with switch from the us store to malaysian store how i can switch

    Please i need help with switch from the us store to malaysian store how i can switch

    Click here and follow the instructions to change the iTunes Store country.
    (82303)

  • HT1766 I need help with restore from bachup

    I NEED HELP WITH MY IPAD RESTORE FROM BACKUP

    This is the iPod touch forum and you are not providing any information to help you.

  • Need help with sum from previous years

    Hi All,
    In a report i have 4 fields. The first field shows the YTD invoice totals for the current FY 2010 (which i accomplished). The other 3 fields are :
    2nd field Sum of the value of invoices for the FY 1YEAR prior to the current year
    3rd field Sum of the value of invoices for the FY 2YEAR's prior to the current year.
    4th field Sum of the value of invoices for the FY 3YEAR's prior to the current year.
    How can i get the desired results for the second,third and the fourth fields, please need help or advice.
    Thanks

    Hi
    If you have the values for several years in the same report you should be able to do what you want using the analytic LEAD and LAG.
    LAG will retrieve values from previous rows whereas LEAD will retrieve values from following rows.
    The basic syntax is the same and look like this:
    LAG(value, offset) OVER ({optional_partition_clause} ORDER BY mandatory_order_clause)
    The ORDER BY clause is mandatory and cannot be omitted. However, this ORDER BY has nothing to do with the sort order you manually create in the worksheet. Generally, most people will set their sort order the same as the ORDER BY in the calculation.
    Here's an example that gets year to date from 2 financial years ago:
    LAG(YTD,2) OVER (ORDER BY FY)
    You have to understand that Discoverer will pull values from previous rows not from previous cells as displayed on the report, although if the cells may happen to be rows too then it will appear as though it is pulling previous cells. I personally am very experienced with analytuc functions and can make manipulate data within Discoverer just about any way that I want. Generally, if I can see data on the screen even when they are in different cells or rows I can create functions to manipulate it. This capability only comes about as a result of experience and I would strongly advise you to practice with the analytics and see if you can at least master some of them. You'll find your Discoverer capabilities will improve dramatically and you will become a great asset at work.
    When working with a new report I generally duplicate the report as a table so that I can see the values. Then if I need to sort the items in order to line up the values I want to work with I do so. Having worked out what sort order I need I can then see what offset I use then I create the analytic and use it in the main worksheet.
    Hope this helps
    Best wishes
    Michael

  • Need Help Recording Programs from my DVR to my VCR

    Can someone please tell to reocrd a program from DVR to my VCR without getting  all snow
    Here is my set up 
    TV- Sony
    VCR/DVD- Sony  SLV-D300P
    DVR- QIP7200

    How many threads do you need for the same question?  This was asked HERE and answered, but you seem incapable of taking the instructions given successfully.
    Yellow from DVR Video Out to VCR Video In
    White from DVR Audio Left Out to VCR Audio Left In
    Red from DVR Audio Out  Right to VCR Audio Right In
    The inset color of the RCA jacks (color inside the silver ring) matches the cables.
    Set VCR to LINE INPUT, play the DVR recording and record on the VCR.  If that is too difficult then get Geek Squad or someone who understands how to connect components.  The connections are also shown in the DVR manual.
    I have been using this exact set of connections for 2 years and it works fine.
    If a forum member gives an answer you like, give them the Kudos they deserve. If a member gives you the answer to your question, mark the answer as Accepted Solution so others can see the solution to the problem.

  • Need help with program for Inner join

    Hello Experts,
    I need to create a list from table sbook containing booking number (sbook-bookid), customer number (sbook-customid), customer name (scustom-name) , customer class (sbook-class) and ticket price (sflight-price). I am new to ABAP and am very confused I tried reading up some examples and came up with the attached program
    Attached is my program for inner join
    Kindly Help
    Thanks Su

    Hi Su K
              You May use key fields , Foreign keys for joining , Here
    SELECT SBOOK~BOOKID SBOOK~CUSTOMID SBOOK~CLASS
      SCUSTOM~ID SCUSTOM~NAME  FROM SFILGHT
       INNER JOIN SBOOK ON   SBOOK~CARRID EQ SFILGHT~CARRID
                                              SBOOK~CONNID EQ SFILGHT~CONNID
                                              SBOOK~FLDATE EQ SFILGHT~FLDATE
      INNER JOIN SCUSTOM ON SCUSTOM~ID = SBOOK~ID

  • Rookie needs help with program!!

    Hi everyone,
    I am new to JAVA programming and am trying to figure out my first progam. Any suggestions? Here's what I have to come up with...
    This program will test your ability to code a loop function and some work with the strings methods.
    INPUT
    A SENTENCE OF UNKNOWN LENGTH.
    OUTPUT
    THE NUMBER OF WORDS IN THE SENTENCE AND EACH WORD ON A SEPARATE LINE. Two spaces are not a word; "a" is a word.
    HINT
    Use a loop until the end of the sentence and count each word that is removed from the front of the sentence (one at a time). Each time the sentence should be shortened.
    I know I need to use a string method...Here's what I have so far...
    public class jmstr
    public static void main (String[ ] args)
    System.out.println ("Please enter a sentence starting with some spaces ");
    inputline = SavitchIn.readLine ( ) ;
    System.out.println (inputline);
    I'm not really sure what to do next....?
    Any help would be appreciated!
    materman

    http://java.sun.com/j2se/1.4.2/docs/api/java/util/StringTokenizer.html
    look at the example on the page, then scroll down to the Methods section and click on
    countTokens()

  • Need help with Program Please!

    // Name: John Weir 02/03/2006
    Please read the comments as they will explain what help I need.
    All help greatly appreciated! Am new to working with GUI.
    import javax.swing.*;
    import java.awt.*;
    import java.awt.event.*;
    import java.util.*;
    public class FeverDiagnosis extends JFrame
         // diagnoisis constants
         private final String MENIGITIS = "menigitis";
         private final String DIGESTIVE_TRACT_INFECTION = "digestive tract infection";
         private final String PNEUMONIA_OR_AIRWAYS_INFECTION  ="pneumonia or airways infection";
         private final String VIRAL_INFECTION = "viral infection";
         private final String THROAT_INFECTION = "throat infection";
         private final String KIDNEY_INFECTION = "kidney infection";
         private final String URINARY_INFECTION = "urinary tract infection";
         private final String SUNSTROKE_OR_HEAT_EXHAUSTION = "sunstroke or heat exhaustion";
         // symptom constants
         private final String FEVER = "fever";
         private final String COUGHING = "coughing";
         private final String HEADACHE = "headache";
         private final String BREATHING_WITH_DIFFICULTY = "shortness of breath, wheezing, or coughing up phlegm";
         private final String ACHING_BONES_JOINTS = "aching bones or joints";
         private final String RASH = "rash";
         private final String SORE_THROAT = "sore throat";
         private final String BACK_PAIN_AND_CHILLS_AND_FEVER = "back pain just above the waist with chills and fever";
         private final String URINARY_DIFFICULTY = "pain urinating or are urinating more often";
         private final String TOO_MUCH_SUN = "sun overexposure due to spending the day in the sun or in hot conditions";
         public final String VOMITING_OR_DIARRHEA = "vomitting spell or diarrhea";
         private final String MENIGITIS_POSSIBILITIES =
                          "pain when bending your head forward,\n"
                        + "    nausea or vomiting, eye ache from \n"
                        + "    bright lights, drowsiness or confusion";
         // GUI varibles
         private JTextArea textArea;
         private JFrame theFrame;
         private JLabel stuff2;
         private JButton b1;
         private JButton b2;
         // instance variable
         private String symptoms = "";
         private Scanner cin = new Scanner (System.in);
         char response;
         String input;
         public FeverDiagnosis()
              JFrame.setDefaultLookAndFeelDecorated(true);
              JFrame theFrame = new JFrame("John Weir");
              theFrame.setSize(650, 400);
              Dimension frameSize = theFrame.getSize();
              Dimension screenSize = Toolkit.getDefaultToolkit().getScreenSize();
              theFrame.setLocation((screenSize.width - frameSize.width)/2,(screenSize.height - frameSize.height)/2);
              theFrame.setDefaultCloseOperation(JFrame.EXIT_ON_CLOSE);
              Container contentPane = theFrame.getContentPane();
              theFrame.getContentPane().setLayout(new FlowLayout());
              JLabel stuff2 = new JLabel("Test");
              textArea = new JTextArea(12,50);
              textArea.setEditable(true);
              textArea.setBackground(Color.black);
              textArea.setForeground(Color.green);
              textArea.setFont(new Font("Serif", Font.ITALIC, 16));
              textArea.setLineWrap(true);
              textArea.setWrapStyleWord(true);
              b1 = new JButton("Yes");
              b2 = new JButton("No");
              contentPane.add(stuff2);
              contentPane.add(new JScrollPane(textArea));
              contentPane.add(b1);
              b1.setEnabled(true);
              contentPane.add(b2);
              b2.setEnabled(true);
              ActionListener l = new ActionListener()
                public void actionPerformed(ActionEvent e)
                   if((e.getSource() == b1))
                   //   HELP NEEDED
                   //   NEED BUTTON TO PASS
                   //   STRING VALUE "Y" TO
                   //   METHOD: have(String s)
                   input.equals("y");
                   else
                   if((e.getSource() == b2))
              b1.addActionListener(l);
              b2.addActionListener(l);
              theFrame.setVisible(true);
              theRules();
    public void theRules()
         displayNote();
         if (! have(FEVER) )
              displayUnsure();
         else
         if(are(COUGHING))
              if( are(BREATHING_WITH_DIFFICULTY))
                   addSymptom( PNEUMONIA_OR_AIRWAYS_INFECTION );
                   displayDiagnosis(PNEUMONIA_OR_AIRWAYS_INFECTION);
              }else
              if(have(HEADACHE))
                   addSymptom( VIRAL_INFECTION );
                   displayDiagnosis(VIRAL_INFECTION);
              }else
              if(have(ACHING_BONES_JOINTS))
                   addSymptom( VIRAL_INFECTION );
                   displayDiagnosis(VIRAL_INFECTION);
              }else
              if(have(RASH))
                   displayUnsure();
              }else
              if(have(SORE_THROAT))
                   addSymptom( THROAT_INFECTION );
                   displayDiagnosis(THROAT_INFECTION);
              }else
              if(have(BACK_PAIN_AND_CHILLS_AND_FEVER))
                   addSymptom( KIDNEY_INFECTION );
                   displayDiagnosis(KIDNEY_INFECTION);
              }else
              if(have(URINARY_DIFFICULTY))
                   addSymptom( URINARY_INFECTION );
                   displayDiagnosis(URINARY_INFECTION);
              }else
              if(have(TOO_MUCH_SUN))
                   addSymptom( SUNSTROKE_OR_HEAT_EXHAUSTION );
                   displayDiagnosis(SUNSTROKE_OR_HEAT_EXHAUSTION);
              }else
                   displayUnsure();
              else
              if(have(HEADACHE))
                   addSymptom(VIRAL_INFECTION);
                   displayDiagnosis(VIRAL_INFECTION);
              }else
              if(are(MENIGITIS_POSSIBILITIES))
                   addSymptom( MENIGITIS );
                   displayDiagnosis(MENIGITIS);
              }else
              if(are(VOMITING_OR_DIARRHEA))
                   addSymptom( DIGESTIVE_TRACT_INFECTION );
                   displayDiagnosis(DIGESTIVE_TRACT_INFECTION);
              }else
              displayUnsure();
         public void displayNote()
              textArea.append("\n\n"
                   + "Fever Diagnostic Tool\n"
                   + "---------------------\n\n"
                   + "Please note that this program performs no true diagnostic activity.\n"
                   + "No decisions should be made based upon the tool's analysis. If users\n"
                   + "have a fever, they should contact their doctor.\n\n");
         public boolean have(String s)
              // prompt and extract
              textArea.append("Do you have you " + s + " (y, n): " + "\n");
              // NEED BUTTON TO PASS STRING  FROM ActionPerformed
              // AND HAVE IT RETURNED AS A CHAR RESPONCE!
              input = cin.nextLine();
              response = (char) Character.toLowerCase(input.charAt(0));
              while ( (response != 'y') && (response != 'n') )
                   textArea.append("Are you " + s + " (y, n): " + "\n");
                   input = cin.nextLine();
                   response = (char) Character.toLowerCase(input.charAt(0));
              textArea.append("");
              return response == 'y';
         private boolean are(String s)
              textArea.append("Are you " + s + " (y, n): " + "\n");
              input = cin.nextLine();
              char response = (char) Character.toLowerCase(input.charAt(0));
              while ( (response != 'y') && (response != 'n') )
                   textArea.append("Are you " + s + " (y, n): " + "\n");
                   input = cin.nextLine();
                   response = (char) Character.toLowerCase(input.charAt(0));
              textArea.append("");
              return response == 'y';
         public void addSymptom(String s)
              symptoms += "*   " + s + "\n";
         public void displayDiagnosis(String diagnosis)
              textArea.setText("");
              textArea.append("\nSymptoms:\n" + symptoms + "\n" + "Diagnosis"
                   + "\n   Possibilities include " + diagnosis  + "\n");
              textArea.append("\n");
              //System.exit(0);
         public void displayUnsure()
              textArea.append("\nInsufficient information to make a diagnosis" + "\n");
              textArea.append("\n");
              //System.exit(0);
         public static void main(String[] args)
              new FeverDiagnosis();
    }

    If you're looking to use a JTextArea as a console you can use these two classes
    you are free to use and modify these classes but please do not change the package or take credit for it as your own work.
    TextAreaReader.java
    =================
    * Created on Jul 7, 2005 by @author Tom Jacobs
    package tjacobs;
    import java.awt.TextArea;
    import java.awt.event.KeyEvent;
    import java.awt.event.KeyListener;
    import java.awt.event.TextEvent;
    import java.awt.event.TextListener;
    import java.io.BufferedInputStream;
    import java.io.BufferedReader;
    import java.io.IOException;
    import java.io.InputStream;
    import java.io.Reader;
    import javax.swing.JFrame;
    import javax.swing.JTextArea;
    public class TextAreaReader extends Reader implements KeyListener {
         JTextArea mJArea;
         TextArea mAWTArea;
         Object mKeyLock = new Object();
         Object mLineLock = new Object();
         String mLastLine;
         int mLastKeyCode = 1;
         public TextAreaReader(JTextArea area) {
              super();
              mJArea = area;
              mJArea.addKeyListener(this);
         public TextAreaReader(TextArea area) {
              super();
              mAWTArea = area;
              mAWTArea.addKeyListener(this);
         public void keyPressed(KeyEvent ke) {
              mLastKeyCode = ke.getKeyCode();
              synchronized(mKeyLock) {
                   mKeyLock.notifyAll();
              if (ke.getKeyCode() == KeyEvent.VK_ENTER) {
                   if (mJArea != null) {
                        String txt = mJArea.getText();
                        int idx = txt.lastIndexOf('\n', mJArea.getCaretPosition() - 1);
                        mLastLine = txt.substring(idx != -1 ? idx : 0, mJArea.getCaretPosition());//txt.length());
                        synchronized(mLineLock) {
                             mLineLock.notifyAll();
                   else {
                        String txt = mAWTArea.getText();
                        int idx = txt.lastIndexOf('\n', mAWTArea.getCaretPosition() - 1);
                        mLastLine = txt.substring(idx != -1 ? idx : 0, mAWTArea.getCaretPosition());//txt.length());
                        synchronized(mLineLock) {
                             mLineLock.notifyAll();
         public void keyReleased(KeyEvent ke) {
         public void keyTyped(KeyEvent ke) {
         public int read(char[] arg0, int arg1, int arg2) throws IOException {
              throw new IOException("Not supported");
         public String readLine() {
              synchronized(mLineLock) {
                   try {
                        mLineLock.wait();
                   catch (InterruptedException ex) {
              return mLastLine;
         public int read() {
              synchronized(mKeyLock) {
                   try {
                        mKeyLock.wait();
                   catch (InterruptedException ex) {
              return mLastKeyCode;
         public void close() throws IOException {
              // TODO Auto-generated method stub
         public static void main(String args[]) {
              JFrame f = new JFrame("TextAreaInput Test");
              JTextArea area = new JTextArea();
              final TextAreaReader tar = new TextAreaReader(area);
              f.add(area);
              Runnable r1 = new Runnable() {
                   public void run() {
                        while (true) {
                             int code = tar.read();
                             System.out.println("read: " + code);
              Runnable r2 = new Runnable() {
                   public void run() {
                        while (true) {
                             String line = tar.readLine();
                             System.out.println("read line: " + line);
              Thread t1 = new Thread(r1);
              Thread t2 = new Thread(r2);
              t1.start();
              t2.start();
              f.setBounds(100, 100, 200, 200);
              f.setVisible(true);
         public InputStream toInputStream() {
              return new MyInputStream();
         private class MyInputStream extends InputStream {
              public int read() {
                   return TextAreaReader.this.read();
    ==================
    TextAreaOutputStream
    ==================
    * Created on Mar 13, 2005 by @author Tom Jacobs
    package tjacobs;
    import java.io.IOException;
    import java.io.OutputStream;
    import javax.swing.JTextArea;
    import javax.swing.text.JTextComponent;
    public class TextAreaOutputStream extends OutputStream {
         public static final int DEFAULT_BUFFER_SIZE = 1;
         JTextArea mText;
         byte mBuf[];
         int mLocation;
         public TextAreaOutputStream(JTextArea component) {
              this(component, DEFAULT_BUFFER_SIZE);
         public TextAreaOutputStream(JTextArea component, int bufferSize) {
              mText = component;
              if (bufferSize < 1) bufferSize = 1;
              mBuf = new byte[bufferSize];
              mLocation = 0;
         @Override
         public void write(int arg0) throws IOException {
              //System.err.println("arg = "  + (char) arg0);
              mBuf[mLocation++] = (byte)arg0;
              if (mLocation == mBuf.length) {
                   flush();
         public void flush() {
              mText.append(new String(mBuf, 0, mLocation));
              mLocation = 0;
              try {
                   Thread.sleep(1);
              catch (Exception ex) {}
    }

  • Need help with upgrade from Adobe Creative Suite to PS CS4

    My old laptop with Photoshop on it crashed and I ended up purchasing a new laptop.
    I'm trying to reload my PS CS4.  I am using an upgrade from an educational Adobe Creative Suite Premium to the CS4 and when I loaded it on my old laptop I had to get installation help through customer service, but now customer service will not help me since it is CS4.
    When installing the upgrade, it tell me to select the product I already own.  I own the educational full creative suite, but am only upgrading the Photoshop.  I chose Photoshop CS and tried entering the serial number for the suite.  It tells me that the serial number doesn't match the product chosen.  Of course the only products I'm allowed to choose from is Photoshop CS, CS2, or CS3 and not Creative Suite Premium.
    The other serial numbers on this CS is Golive CO and Pagemaker Plug-in.
    I was told there are Adobe customer service reps here on the forum, please tell me what it was I need to do to get my Photoshop installed.
    Thanks

    i wasn't aware that you could get a ps4 at an upgrade price using an older creative suite produect.  i searched online and found this thread (http://forums.adobe.com/thread/476009) which makes it appear that was not a valid upgrade path.
    but, if you're confident that was a valid upgrade path, i'm pretty sure something will need to be done on adobe's end and no amount of manipulation, on your end only, will work.
    your best bet would be to get help in this forum from an adobe staff member like jeff wright who is very knowledgeable and goes out of his way to help adobe customers.  to that end, if i were you, i would start a new thread mentioning his name in your title and in your initial post explaining:
    you have the educational Adobe Creative Suite Premium and purchased a photoshop cs4 upgrade years ago that required adobe support help to install years ago. 
    that worked well until a recent computer problem forced you buy a new laptop and you are now trying to reinstall that ps cs4 and again need support help but have been refused help because cs4 is not current.

  • HT1296 Need help with sync from phone to computer

    When I sync my phone to my laptop, I would like info I entered on the calendar on my phone to be added to the calendar on my computer.  I can only get it to sync from computer to phone.  I need to update both
    any ideas.  I have searched the help files and can't find this anywhere

    My problem is similar. I just upgraded from the 4S to the 5 and I used to be able to sync the calendar on my iMac and iPhone using iCloud without getting duplicates by selecting/deselecting the appropriate calendars on the respective devices. Everything synced as I entered it. 
    I'm pretty sure it was working with the 5 until recently...
    Today I noticed that an event I entered on the 5 for last week didn't show up on my iMac. When I checked the EDIT screen on the phone to see what calendars were checked, only the calendar for that event was (on the All on my iPhone).  All but the Unfiled calendar are checked on the All on my iCloud.  When I unchecked and rechecked the calendars under the Phone didn't help. Can't get the thing to sync...
    Seems like most people are having problems with Exchange accts, but here I am with my iMac/Phone/Cloud...

  • Need help with calc from tables

    I have a table that contains query #1 and have another table
    that contains a field that needs to use the result of the cfset in
    another calc.
    The new calc in query #2 needs to divide the Num_Checks_Trans
    from query #1 by the by the Weekly_Hours_Recorded in query #2.
    Can anyone help me figure this out?
    <b>1.</b>
    <cfquery name="QryEmployeeDetail"
    datasource="NBProdReports">
    SELECT TblContractInfo_SubMenuTable.User_ID,
    TblContractInfo_SubMenuTable.Contract_Number,
    TblContractInfo_SubMenuTable.Transaction_Type,
    TblContractInfo_SubMenuTable.Num_Checks_Trans, TblTransType.Value,
    TblContractInfo_SubMenuTable.Notes, TblMasterTrans.Date_Opened
    from TblContractInfo_SubMenuTable, TblMasterTrans,
    TblTransType
    WHERE TblContractInfo_SubMenuTable.Task_Number =
    TblMasterTrans.Task_Number
    and TblTransType.Transaction_Type =
    TblContractInfo_SubMenuTable.Transaction_Type
    And TblMasterTrans.Date_Opened BETWEEN
    #createODBCDate(DED_startDate)# AND #createODBCDate(DED_endDate)#
    order BY TblMasterTrans.Date_Opened ASC,
    TblContractInfo_SubMenuTable.User_id ASC
    </cfquery>
    <cfset totalTrans = 0 />
    <cfloop query="QryEmployeeDetail">
    <cfset totalTrans = totalTrans +
    (QryEmployeeDetail.Num_Checks_Trans * QryEmployeeDetail.Value)
    /></cfloop>
    Text
    2.
    <cfquery name="QryEmployeeDetail"
    datasource="NBProdReports">
    SELECT TblContractInfo_SubMenuTable.User_ID,
    TblContractInfo_SubMenuTable.Contract_Number,
    TblContractInfo_SubMenuTable.Transaction_Type,
    TblContractInfo_SubMenuTable.Num_Checks_Trans, TblTransType.Value,
    TblContractInfo_SubMenuTable.Notes, TblMasterTrans.Date_Opened
    from TblContractInfo_SubMenuTable, TblMasterTrans,
    TblTransType
    WHERE TblContractInfo_SubMenuTable.Task_Number =
    TblMasterTrans.Task_Number
    and TblTransType.Transaction_Type =
    TblContractInfo_SubMenuTable.Transaction_Type
    And TblMasterTrans.Date_Opened BETWEEN
    #createODBCDate(DED_startDate)# AND #createODBCDate(DED_endDate)#
    order BY TblMasterTrans.Date_Opened ASC,
    TblContractInfo_SubMenuTable.User_id ASC
    </cfquery>

    This can be rewritten as a single query which is good for a
    number of reasons, including we only make one trip to the database
    and we do our calculations on the SQL backend, which is faster than
    doing them in CFML.
    What you're going to want to do is SUM() the total
    transaction values by having a column like SUM(Num_Checks_Trans *
    Value) AS totalTrans. To get the value for your other column you
    can calculate that like Num_Checks_Trans / Weekly_Hours_Recorded. I
    didn't see the latter in either of your queries so I'm not sure
    where it comes from, but you can definitely use it in your SELECT
    clause when calculating.
    Since SUM() is an aggregate function, you'll have to use a
    GROUP BY clause to make it work. You'll have to GROUP BY each
    column in the SELECT statement. If some of the columns have
    differing data that you won't want to use in the GROUP, you can
    always use a nested subquery as part of your FROM clause and then
    join that to the original queries with the totals.
    I hope that helps.
    - William

  • New ipod need help with songs from old one NEED HELP!!!!

    I got a new ipod nano 3rd gen. but it wont let me take all of my old songs from my old ipod(nano 1st gen) and put them on my new one! I dont want to lose my songs so PLEASE HELP!!

    When I did that on my old ipod and it said doing so will delete all the songs on it and replace it with my library. When I did it on my new ipod it just put the songs that was already in that playlist back on the ipod, not the songs that i need from the old one.

  • Need Help with importing from iphoto

    I am having trouble importing from iphoto it will allow my pics to show up but if I try to drag them to the frame below it will begin to import and then an error message will pop up say import error (-4960) what do i do to fix this.

    Hi bline:
    Memory should be a problem (as you have already figured out).
    Perhaps you should do some basic maintenance first:
    Repair permissions (if you don't know how-look here:)
    http://www.ncmug.org/tips/repair_permissons.html
    Perhaps download a free program to clean up unneeded files:
    Cache Out X
    http://www.versiontracker.com/dyn/moreinfo/macosx/14850&vid=106967
    Also, you said "It's letting me see my title options but not apply them. I also don't know how to get that black page in there."
    You just drag the titles or transitions to the timeline-no need to "apply".
    Watch this little video for help:
    http://www.danslagle.com/mac/iMovie/usage/5017.shtml
    Sue

  • Need help with Programming.

    Input:
    Write a Java inventory application program that will accept the following input values from the user:
    a.     An inventory item number consisting of two upper-case letters followed by three numbers (eg. AB123)
    b.     An inventory item description.
    c.     An inventory unit price (2 decimals).
    d.     An item quantity-on-hand (no decimals).
    Use the TextIO.class to accept the values from the user.
    Processing:
    The input must be validated as follows:
    Item number - must be not more than 6 characters in length. Then, of those six characters, the first two must be letters only, followed by a dash (-) and then three numbers. Eg. AB-456.
    Inventory item description � must contain a value and be less than or equal to 20 characters in length.
    Unit price � between 0 and 5,000.00 inclusive.
    Quantity-on-hand � between 0 and 500 inclusive.
    The letters of the item number must be converted to upper-case for display purposes.
    Count the number of inventory transactions entered.
    Accumulate the calculated inventory cost of each item.
    Your program will contain six error messages as follows:
    **ERROR01** - Item number must be five characters
    **ERROR02** - Item number must start with 2 letters
    **ERROR03** - Item number must be numeric in last 3 positions
    **ERROR04** - Item description is required and must be max 20 chars
    **ERROR05** - Unit price must be between 0 and 5,000.00
    **ERROR06** - Quantity on hand must be between 0 and 500
    Note: there is no �persistent� storage of the data in this program. In other words, once the new data has been entered, the program �forgets� the old data. We will learn how to keep the data in memory in a later assignment.
    Output:
    After each transaction is entered, display the results to the user (as in the previous assignment). Prompt the user for additional inventory transactions after the information is displayed.
    If there are no more transactions to enter, display the number of inventory transactions entered during the session as well as the total cost of the inventory items processed. Your output must match that shown in the example screen shots shown on the next page.
    Please E-mail me back the answer.

    I would suggest,
    - Make a serious attempt yourself. We may be will to help you learn but we are not going to help someone cheat in your assignments.
    - After making a serious attempt ask a specific question on "New To Java" as this forum is for beginners. Be ready to provide the code as an example of your problem. Make sure the code at least compiles or you will not be taken seriously. (Unless this is your problem)

  • Beginner needs help with programming assignment

    So I have been working on it and it is reading everything and posting everything to the output file, but it looks like this
    MonthlyRainfall(cm)
    Average: 3.66
    January 7.29, above averageApril3.55, below averageNovember0.15, below average
    When instead it should look like this. Don't know what I need to do to get it to work like this. If I have to much regarding the IF Else statements or I just don't have it laid out right. Any help is appreciated. Thanks.
    Monthly Rainfall (cm)
    Average: 3.66
    January 7.29, above average
    April 3.55, below average
    November 0.15, below average
    Here is the code I have so far:
    package assign4;
    import java.io.FileNotFoundException;
    import java.io.FileReader;
    import java.io.PrintWriter;
    import java.util.Scanner;
    import javax.swing.JOptionPane;
    public class Rainfall2 {/** main method
    * This is where the program starts.
    * @param args
    public static void main(String[] args) throws FileNotFoundException {
    * Title: Assignment 4
    * Description: CS 161 Assignment #4
    * date: October 27th 2008
    final String fileName = "src/assign4/rain2.txt";
    Scanner myFile = new Scanner( new FileReader( fileName ) );
    PrintWriter outFile = new
    PrintWriter ("src/assign4/rainfalloutput.out");
    //declares variables
    String title;
    String subtitle;
    String units;
    String date;
    int month1, month2, month3;
    double rain1, rain2, rain3;
    double average;
    * Read 6 lines from the input file
    title = myFile.next();
    subtitle = myFile.next();
    units = myFile.next();
    month1 = myFile.nextInt();
    rain1 = myFile.nextDouble();
    month2 = myFile.nextInt();
    rain2 = myFile.nextDouble();
    month3 = myFile.nextInt();
    rain3 = myFile.nextDouble();
    myFile.close(); //close the input file
    average = (rain1 + rain2 + rain3) / 3.0; //computes the average rainfall from data points
    outFile.println( title + subtitle + units);
    outFile.printf ("Average: %5.2f %n", average);
    if (month1 == 1)
    outFile.print ("January ");
    else if (month1 == 2)
    outFile.print ("February");
    else if (month1 == 3)
    outFile.print ("March");
    else if (month1 == 4)
    outFile.print ("April");
    else if (month1 == 5)
    outFile.print ("May");
    else if (month1 == 6)
    outFile.print ("June");
    else if (month1 == 7)
    outFile.print ("July");
    else if (month1 == 8)
    outFile.print ("August");
    else if (month1 == 9)
    outFile.print ("September ");
    else if (month1 == 10)
    outFile.print ("October");
    else if (month1 == 11)
    outFile.print ("November");
    else if (month1 == 12)
    outFile.print ("December");
    if (rain1 > average)
    outFile.print ( rain1 + ", above average");
    else
    if (rain1 == average)
    outFile.print ( rain1 + ", average");
    else
    if (rain1 < average)
    outFile.print ( rain1 + ", below average");
    if (month2 == 1)
    outFile.printf ("January");
    else if (month2 == 2)
    outFile.printf ("February");
    else if (month2 == 3)
    outFile.printf ("March");
    else if (month2 == 4)
    outFile.printf ("April");
    else if (month2 == 5)
    outFile.printf ("May");
    else if (month2 == 6)
    outFile.printf ("June");
    else if (month2 == 7)
    outFile.printf ("July");
    else if (month2 == 8)
    outFile.printf ("August");
    else if (month2 == 9)
    outFile.printf ("September");
    else if (month2 == 10)
    outFile.printf ("October");
    else if (month2 == 11)
    outFile.printf ("November");
    else if (month2 == 12)
    outFile.printf ("December");
    if (rain2 > average)
    outFile.printf ( rain2 + ", above average");
    else
    if (rain2 == average)
    outFile.printf ( rain2 + ", average");
    else
    if (rain2 < average)
    outFile.printf ( rain2 + ", below average");
    if (month3 == 1)
    outFile.printf ("January");
    else if (month3 == 2)
    outFile.printf ("February");
    else if (month3 == 3)
    outFile.printf ("March");
    else if (month3 == 4)
    outFile.printf ("April");
    else if (month3 == 5)
    outFile.printf ("May");
    else if (month3 == 6)
    outFile.printf ("June");
    else if (month3 == 7)
    outFile.printf ("July");
    else if (month3 == 8)
    outFile.printf ("August");
    else if (month3 == 9)
    outFile.printf ("September");
    else if (month3 == 10)
    outFile.printf ("October");
    else if (month3 == 11)
    outFile.printf ("November");
    else if (month3 == 12)
    outFile.printf ("December");
    if (rain3 > average)
    outFile.printf ( rain3 + ", above average");
    else
    if (rain3 == average)
    outFile.printf ( rain3 + ", average");
    else
    if (rain3 < average)
    outFile.printf ( rain3 + ", below average");
    outFile.close();
    }

    The printf method does not inlcude a LF/CR. You will have to add it yourself.
    In future when you post code, highlight it and click the CODE button to retain formatting.

Maybe you are looking for

  • How to run a java program via a batch file,which is called from a webserver

    REM This batch file runs the Spider with the [-v] option. REM Lines 51 through 54 are simple DOS commands..they call the Spider REM The location of the Spider package is the important piece of information here... REM a batch file has access to the wh

  • Can you stream live content to apple TV ?

    Hi I aubscribe to an iptv service that I watch on my macbook. My question is can I directly stream to apple TV or would 3rd parts software be required? anyhelp appreciated

  • Time stamp wrong in skype and thunderbird while menu bar has correct time

    I noticed in my applications like Skype, MSN Messenger, Thunderbird email that the time stamp was wrong. But the Menu Bar clock and the system preferences Date and Time were correct. My exact error is that the app timestamp always showed the time as

  • History of Table Alterations

    Hi , How can I find the table alteration made in the database tables? Is there is any system defined tables are there to store these history informations? Thanks Jobin .SP

  • Magic mouse click problem.

    Hi all, Couldnt find any solution yet for my problem. It is always either not click or in click(can see the dragging box). No problem with connecting & tracking. I'm using iMac