Fill Interactive report Filter function with the last month

Version: APEX 4.1
Functions: Interactive Reports - Filter
Image: http://i.imgur.com/tG7si.png
http://i.imgur.com/UCoZ5.png
Is it possible to have a button when click would filter the last month of whatever the current date is. (Without making a 2nd interactive report)

Hi,
I went quickly over this:
http://anthonyrayner.blogspot.com/2008/07/dynamic-date-filtering-in-interactive.html
This should help. it shows you how to prepare the URL of the wanted report. and you can choose button action Redirect to URL.
There is more ... give me one minute :)
Ok.. This is what you need:
http://docs.oracle.com/cd/E23903_01/doc/doc.41/e21676/apex_util.htm#CHDDDFBF
Regards,
Fateh
Edited by: Fateh on Jun 15, 2012 11:17 AM

Similar Messages

  • In an Analyzer report how can I filter based on the last member of a dimension?

    Using Analyzer 6.2.1What I'm trying to do is to create a report that shows always the last month available on the cube.I'd rather like to avoid having to add UDA or Alias or whatever in my outline.Is there a way to retrieve the last member of a dimension directly in Analyzer?

    "Substitution Variables" can do what you are asking for.

  • VERY STRANGE Interactive Report Filter Error

    I have a very interesting problem happening with an interactive report in my APEX application. The report runs just fine and has been in use for about 6 months. Just recently, the users have begun to run into problems when using the filter capability within the report. There is a specific column heading (RH Analyst) that they typically click on and select a specific analyst name (the list contains 10 entries). Most selections from the filter list work fine. However, when one specific name is chosen, they get the dreaded ORA-06502: PL/SQL: numeric or value error: character string buffer too small+*  error. 
    I have been working to narrow the problem down and have found the following:
    1. The filter error is related to the content of one specific column (not the one I am filtering on)
    2. The column that is causing the error is a CLOB datatype
    3. The data in the CLOB column was inserted into the database from a form utilizing an "HTML Editor Standard" type of item
    4. The data in the CLOB column was copied and pasted from an email that was being viewed using Outlook 2007
    5. If I try to recreate the problem with exactly the same information, but copied and pasted from Outlook 2003, I don't experience the problem.
    6. The only people experiencing this problem are people who have upgraded their system from Microsoft Office 2003 to Microsoft Office 2007
    7. When I try to load the form with the data that was stored in the database, I get a 404 page not found error. This is the same error that I get if more than 32k of data was saved into the CLOB.
    The data pasted into the HTML editor from Outlook 2007 (_this is the data that causes problems_) and saved to the CLOB looks like this when I extract it in SQL Developer
    (CLOB) <meta content="text/html; charset=utf-8" http-equiv="Content-Type" />
    <meta content="Word.Document" name="ProgId" />
    <meta content="Microsoft Word 12" name="Generator" />
    <meta content="Microsoft Word 12" name="Originator" />
    <link href="file:///C:\DOCUME~1\euw6ay0\LOCALS~1\Temp\msohtmlclip1\01\clip_filelist.xml" rel="File-List" />
    <link href="file:///C:\DOCUME~1\euw6ay0\LOCALS~1\Temp\msohtmlclip1\01\clip_themedata.thmx" rel="themeData" />
    <link href="file:///C:\DOCUME~1\euw6ay0\LOCALS~1\Temp\msohtmlclip1\01\clip_colorschememapping.xml" rel="colorSchemeMapping" /><!--[if gte mso 9]><xml>
    <w:WordDocument>
    <w:View>Normal</w:View>
    <w:Zoom>0</w:Zoom>
    <w:TrackMoves />
    <w:TrackFormatting />
    <w:PunctuationKerning />
    <w:ValidateAgainstSchemas />
    <w:SaveIfXMLInvalid>false</w:SaveIfXMLInvalid>
    <w:IgnoreMixedContent>false</w:IgnoreMixedContent>
    <w:AlwaysShowPlaceholderText>false</w:AlwaysShowPlaceholderText>
    <w:DoNotPromoteQF />
    <w:LidThemeOther>EN-US</w:LidThemeOther>
    <w:LidThemeAsian>X-NONE</w:LidThemeAsian>
    <w:LidThemeComplexScript>X-NONE</w:LidThemeComplexScript>
    <w:Compatibility>
    <w:BreakWrappedTables />
    <w:SnapToGridInCell />
    <w:WrapTextWithPunct />
    <w:UseAsianBreakRules />
    <w:DontGrowAutofit />
    <w:SplitPgBreakAndParaMark />
    <w:DontVertAlignCellWithSp />
    <w:DontBreakConstrainedForcedTables />
    <w:DontVertAlignInTxbx />
    <w:Word11KerningPairs />
    <w:CachedColBalance />
    </w:Compatibility>
    <w:BrowserLevel>MicrosoftInternetExplorer4</w:BrowserLevel>
    <m:mathPr>
    <m:mathFont m:val="Cambria Math" />
    <m:brkBin m:val="before" />
    <m:brkBinSub m:val="&#45;-" />
    <m:smallFrac m:val="off" />
    <m:dispDef />
    <m:lMargin m:val="0" />
    <m:rMargin m:val="0" />
    <m:defJc m:val="centerGroup" />
    <m:wrapIndent m:val="1440" />
    <m:intLim m:val="subSup" />
    <m:naryLim m:val="undOvr" />
    </m:mathPr></w:WordDocument>
    </xml><![endif]--><!--[if gte mso 9]><xml>
    <w:LatentStyles DefLockedState="false" DefUnhideWhenUsed="true"
    DefSemiHidden="true" DefQFormat="false" DefPriority="99"
    LatentStyleCount="267">
    <w:LsdException Locked="false" Priority="0" SemiHidden="false"
    UnhideWhenUsed="false" QFormat="true" Name="Normal" />
    <w:LsdException Locked="false" Priority="9" SemiHidden="false"
    UnhideWhenUsed="false" QFormat="true" Name="heading 1" />
    <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 2" />
    <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 3" />
    <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 4" />
    <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 5" />
    <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 6" />
    <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 7" />
    <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 8" />
    <w:LsdException Locked="false" Priority="9" QFormat="true" Name="heading 9" />
    <w:LsdException Locked="false" Priority="39" Name="toc 1" />
    <w:LsdException Locked="false" Priority="39" Name="toc 2" />
    <w:LsdException Locked="false" Priority="39" Name="toc 3" />
    <w:LsdException Locked="false" Priority="39" Name="toc 4" />
    <w:LsdException Locked="false" Priority="39" Name="toc 5" />
    <w:LsdException Locked="false" Priority="39" Name="toc 6" />
    <w:LsdException Locked="false" Priority="39" Name="toc 7" />
    <w:LsdException Locked="false" Priority="39" Name="toc 8" />
    <w:LsdException Locked="false" Priority="39" Name="toc 9" />
    <w:LsdException Locked="false" Priority="35" QFormat="true" Name="caption" />
    <w:LsdException Locked="false" Priority="10" SemiHidden="false"
    UnhideWhenUsed="false" QFormat="true" Name="Title" />
    <w:LsdException Locked="false" Priority="1" Name="Default Paragraph Font" />
    <w:LsdException Locked="false" Priority="11" SemiHidden="false"
    UnhideWhenUsed="false" QFormat="true" Name="Subtitle" />
    <w:LsdException Locked="false" Priority="22" SemiHidden="false"
    UnhideWhenUsed="false" QFormat="true" Name="Stro..."The data pasted into the HTML editor from Outlook 2003 and saved to the CLOB looks like this when I extract it in SQL Developer
    (CLOB) <p style="margin-bottom: 6pt;" class="MsoNormal"><u><span style="font-size: 10pt; font-family: 'Arial','sans-serif';">&ldquo;Implementation and  Compliance Update #2&rdquo;</span></u><span style="font-size: 10pt; font-family: 'Arial','sans-serif';"> addresses a concern  that clearinghouses may be in some cases inappropriately charging providers for  the use of a standard transaction. </span><o:p></o:p></p>
    <ul type="disc">
        <li style="" class="MsoNormal"><span style="font-size: 7pt;"> </span><span style="font-size: 10pt; font-family: 'Arial','sans-serif';">In particular, we  cite MN Statutes 62J.536, Subd. 1f, which states that:  <em>Group purchasers may  not impose any fee on providers for the use of the transactions prescribed in  this subdivision.  </em>The update explains that &ldquo;payers (or their agents) may  not charge for receiving a standard transaction&rdquo; and provides additional  information. The update is accompanied by a joint cover memo from MDH, the  Minnesota Department of Commerce, and the Minnesota Department of Labor and  Industry.  Note:  The Minnesota Department of Health (MDH) is charged with  implementing and enforcing Minnesota Statutes, section 62J.536. In addition, the  Minnesota Department of Commerce and the Department of Labor and Industry  administer additional statutory requirements for electronic claims submission,  consistent with MS &sect; 62J.536.</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">  <o:p></o:p></span></li>
    </ul>
    <p style="margin-bottom: 6pt;" class="MsoNormal"><u><span style="font-size: 10pt; font-family: 'Arial','sans-serif';">&ldquo;Implementation and  Compliance Update #3&rdquo;</span></u><span style="font-size: 10pt; font-family: 'Arial','sans-serif';"> provides a reminder  of the upcoming Dec. 15, 2009 effective date for rules for the standard,  electronic exchange of health care remittance advices. It also clarifies  that:</span> <o:p></o:p></p>
    <ul type="disc">
        <li style="" class="MsoNormal"><span style="font-size: 10pt; font-family: 'Arial','sans-serif';">Statutory  requirements for standard, electronic remittance advices do not include  requirements for electronic payment (electronic funds transfer &ndash;  EFT)</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">  <o:p></o:p></span></li>
    </ul>
    <ul type="disc">
        <li style="" class="MsoNormal"><span style="font-size: 10pt; font-family: 'Arial','sans-serif';">Consistent with MDH&rsquo;s  enforcement policies and plans described in Update #1 (posted  6/5/09):</span><span style="font-size: 9pt; font-family: 'Arial','sans-serif';">  <o:p></o:p></span></li>
    </ul>
    <p style="margin-bottom: 6pt; margin-left: 1.1in; text-indent: -0.25in;" class="MsoNormal"><span style="font-size: 10pt; font-family: 'Courier New';">o</span><span style="font-size: 7pt;">        </span><span style="font-size: 10pt; font-family: 'Arial','sans-serif';">Starting Dec. 15,  2009, group purchasers (payers) must be able to transmit &ndash; and providers must be  able to accept - standard, electronic RAs via computer-computer electronic data  interchange (EDI). So long as payers and providers are able to exchange the  remittance advice standard transaction electronically, the Department does not  take issue with payers making available additional mechanisms for communicating  RAs to providers, such as access to portable document format (.pdf) files, or  provider electronic mailboxes.</span><span style="font-family: 'Arial','sans-serif';"> </span><o:p></o:p></p>
    <ul type="disc">
        <li style="" class="MsoNormal"><span style="font-size: 10pt; font-family: 'Arial','sans-serif';">The Department&rsquo;s  determinations of whether payers and providers are complying with the  regulations will take into account several factors. However, we have determined  that it is not realistic to require electronic remittance advices when claims  ar..."     I am using APEX version 3.2
    Any help would be greatly appreciated. For now, my short term solution for them is to copy the information from Outlook 2007, paste it into a Wordpad, then copy it from wordpad and paste it into the HTML editor control. That seems to work fine but it is not a very nice solution for the users!
    Thanks,
    Dale

    Roel,
    Hey there! Hope you enjoyed your time off ;) Thanks for having a look...
    Yes, of course I "could" update the functions, but this is NOT something I want to do. I'm one of those people that subscribes to Coding by Contract and the assertion routines at the beginning and end of my subprograms are an important part of that.
    This may be a lack of understanding on my part with regards to the order in which Oracle does it's thing - or a bug in Apex... I'm able to duplicate the problem on apex.oracle.com: dmcghan/test/test.
    Log into the demo app with admin/dmcghan. The home page has an interactive report, filter the name and you should get the error. When you look at the query you'll see a filter in the where clause that goes against the apex_collections table. This is populated from the post-authentication procedure. Let me know if you have questions.
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen
    http://sourceforge.net/projects/plrecur

  • Interactive Report Filter Problem

    Hello,
    I ran into a problem with an interactive report today. When the report first loads, no issue. If a filter is added, an error is returned. The error is actually generated by an assertion routine that raises and exception if a NULL value was passed in. Here's a modified/simplified version of the query:
    SELECT id,
       name,
       dept,
       emp.year_of_emp(hire_date) AS years_of_employment
    FROM emp_table
    WHERE id IN (
       SELECT c001
       FROM apex_collections
       WHERE collection_name = 'EMPS_UNDER_MANAGER'
    );Again, when the report first loads, no problem. Then when the manager applies, say a filter on dept, an error is raised from the emp.year_of_emp function because a NULL value was passed in.
    I know that all emps with an emp id in the collection have a hire_date so I don't feel as though I should have to add another condition in the where clause to filter those out (although that is the work around at this point). Anyone have any ideas as to what could be causing this?
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen
    http://sourceforge.net/projects/plrecur

    Roel,
    Hey there! Hope you enjoyed your time off ;) Thanks for having a look...
    Yes, of course I "could" update the functions, but this is NOT something I want to do. I'm one of those people that subscribes to Coding by Contract and the assertion routines at the beginning and end of my subprograms are an important part of that.
    This may be a lack of understanding on my part with regards to the order in which Oracle does it's thing - or a bug in Apex... I'm able to duplicate the problem on apex.oracle.com: dmcghan/test/test.
    Log into the demo app with admin/dmcghan. The home page has an interactive report, filter the name and you should get the error. When you look at the query you'll see a filter in the where clause that goes against the apex_collections table. This is populated from the post-authentication procedure. Let me know if you have questions.
    Regards,
    Dan
    http://danielmcghan.us
    http://sourceforge.net/projects/tapigen
    http://sourceforge.net/projects/plrecur

  • Interactive Report Filter Expression

    I am a (new) user not a developer.
    The Apex developer has presented me with a web page containing an Interactive Report interface.
    I seem to be managing just fine, for the most part, except to make a filter with multiple OR statements.
    I can easily make multiple AND statements.
    Is there some trick or special way to write the filter statement (OR is this just not possible with Interactive Report - excuse the pun)
    Please help, the developer is stumped!

    I don't think it's possible (someone can correct me if I am wrong) in 3.2.x, but certainly possible in version 4.
    Taken from the Interactive Report help page:
    FilterFocuses the report by adding or modifying the WHERE clause on the query. You can filter on a column or by row.
    If you filter by column, select a column (it does not need to be one that displays), select a standard Oracle operator (=, !=, not in, between), and enter an expression to compare against. Expressions are case sensitive. Use % as a wild card (for example, STATE_NAME like A%).
    If you filter by row, you can create complex WHERE clauses using column aliases and any Oracle functions or operators (for example, G = 'VA' or G = 'CT', where G is the alias for CUSTOMER_STATE).>
    Ta,
    Trent

  • Is it possible to create a variable in bex with the last work day?

    Hi Gurus
    Is it possible to create a variable in bex with the last work day?
    Actually end-user every day open queries,
        - Put in selection date day - 1 or
        - put last Friday if the day is Monday or
        - put last Thursday if the day is Monday and Friday is holiday (in a calendar for example 25 the December).
    Please do the needful. It is urgent
    Thanks in advance
    Raj

    Try this logic in a customer exit:
    DATA:  l_s_range TYPE rsr_s_rangesid.
    DATA:  X_PERIOD LIKE T009B-POPER,
               X_YEAR   LIKE T009B-BDATJ.
      CASE I_VNAM.
      WHEN 'ZPREVWORKDAY'.
        DATA: l_DayOfWeek(1) TYPE C,
              l_act_date     TYPE d,
              l_prev_date    TYPE d.
        l_act_date = sy-datum.
        CALL FUNCTION  'DATE_COMPUTE_DAY'
             EXPORTING DATE = l_act_date
             IMPORTING DAY  = l_DayOfWeek.
        CASE l_DayOfWeek.
          WHEN '1'.
            l_prev_date = l_act_date - 3.
          WHEN '2'.
            l_prev_date = l_act_date - 1.
          WHEN '3'.
            l_prev_date = l_act_date - 1.
          WHEN '4'.
            l_prev_date = l_act_date - 1.
          WHEN '5'.
            l_prev_date = l_act_date - 1.
          WHEN '6'.
            l_prev_date = l_act_date - 1.
          WHEN '7'.
            l_prev_date = l_act_date - 2.
        ENDCASE.
        l_s_range-low  = l_prev_date.
        APPEND l_s_range TO e_t_range.
    ENDCASE.
    Edited by: Tyler Blouse on Feb 13, 2008 8:28 PM

  • AD user script to populate the IPPHONE attribute with the last 4 digits of the Telephonenumber attribute

    Good Afternoon Scripting Guys. I have a script that I have been working with pretty much all day today and just cant quite get it to play nice. Our objective is to search AD for specific users (say filtering them out with a username that starts with a "T")
    and User account is "Enabled" then grab the last four digits of their phone number (phone number is set up as follows: (800) 123 456 ) then populate the IPPHONE attribute with the last four digits of their phone number. I have read a ton of online
    blogs with users successfully making this happen but it appears that they are all using Quest (as the commands are all Get-qaduser and Set-qaduser). I need something that runs strictly in native Active Directory Module PowerShell on a Windows Server 2008r2
    Domain Controller.  I am also trying to keep it as simple as possible by using a Get command, then piping a Set command.  I have saved the script into a .ps1 file with the logic as follows:
    $SelUsers = Get-ADUser -filter {(SamAccountName -like "t*")} -Properties ipphone,telephonenumber -searchbase "OU=Test Users,OU=Temporary Org,OU=Test_Domain Users,DC=mydomain,DC=com" | where {($_.enabled -eq $True)}
    foreach ($user in $SelUsers)
     {$user.ipphone = $user.telephonenumber(4,$User.telephonenumber.length-4)
     set-aduser -instance $user}
    What is happening is kind of funny, but aggravating at the same time.  When we run the script, it completes with no errors.  When I pull up the properties of a user in the OU, the IP Phone field is populated with the number 8.  If the User
    account did not have a telephone number, the IP Phone field is populated with a -4.  So, apparently, the script is somehow subtracting the "-4" from the number of all of the Telephone Number field's characters.  Basically 12-4 is 8. 
    If there is no telephone number, then 0-4 is -4.  I have run the Get-ADUser portion of the script independently so I know its getting the correct users.  I also know it is populating the IPPHONE attribute but not with the last 4 digits of the telephone
    number.  Can you guys help out and maybe get this to work correctly?  Also, can you add logic to it to the script to delete any value in the IPPHONE field first, then replace it with the last 4 digits of the telephone.
    Any help would be GREATLY appreciated!!!!!  Thanks Guys...
    Lee

    First thing I would do is modify your filtering. This will remove the unneeded piping to the Where-Object cmdlet and also allow us to only return users who already have something in the telephoneNumber field. It is possible this could return all of your
    users, but if you have service accounts, etc. that do not have a telephoneNumber then they will not be included in your results. It's just a little cleaner.
    $SelUsers = Get-ADUser -filter {(SamAccountName -like 't*' -and Enabled -eq $True -and TelephoneNumber -like '*')}
    I suspect you may have a made a mistake when you entered what your phone numbers looks like. I assume that you forgot a final digit. If this is correct, and you have a space in the phone number between the three digits and the final four then you can use
    the split method to grab the last four digits.
    Foreach ($User in $SelUsers) {
    $Number = $User.telephoneNumber.split(' ')[-1]
    Set-ADUser -Identity $User -Replace @{ipPhone=$Number}
    There's no reason to delete what's in the field first because that's part of what the -Replace parameter will do anyway. This should help get you started!

  • Interactive Reports filter ignoring case

    Is there a way to have the built-in interactive report filter ignore case? I am currently passing the 'LIKE' filter to my interactive report to search for employee names. I want it to ignore the case so 'SMITH' would be the same as 'Smith' when doing search.
    ie. upper(:P1_NAME) like upper(EMP.NAME)

    But I'm not capturing the time. The default format is DD-MON-RR.
    This is crazy, I have used other Adhoc tools that didn't treat dates that way.
    Seeing as the operators change depending on the data type selected by the user, the option must be controlled in the application. Oracle is excluding it for some reason, but they really need to let the administrator control that.
    This is in Interactive Reports. The users don't want to have to format the dates, or anything else. They just want to filter the data to a certain date and the = sign should be allowed. If they are capturing time, then the administrator can truncate the date and make it available via another field/column.
    Edited by: ABD -- DBA on Jan 22, 2010 11:56 AM
    Edited by: ABD -- DBA on Jan 25, 2010 8:05 AM

  • SD reports we generated with the the help of ABAPers

    What are the SD reports we generated with the the help of ABAPers? How can we modify existing reports?

    Hi Gopala.,
                  Customer uses standard SAP reports if he wants additional reports apart from the functionality provided we functional people give the specifiction to the technical peole ABAPERS reagrding the report we needed and the tables and fields of the particular repot,With the help of that ABAPERS develop Query reports or they create reports
    Some reports we also can generate using LIS
    REWARD if helpfull
    Thanks & Regards
    Narayana
    Message was edited by:
            manam narayana

  • Hello,I am a phone dealer in Nigeria. please how can i track a brand new iphone 5 64gb and 16gb that was stolen from my shop with the last 4 digit IMEI numbers?

    Hello,I am a phone dealer in Nigeria. please how can i track a brand new iphone 5 64gb and 16gb that was stolen from my shop with the last 4 digit IMEI numbers?

    What To Do If Your iDevice or Computer Is Lost Or Stolen
    If your Mac, iPhone, iPod, iPod Touch, or iPad is lost or stolen what do you do? There are things you should do in advance - before you lose it or it's stolen - and some things to do after the fact. Here are some suggestions:
      1. Reporting a lost or stolen Apple product
      2. Find my lost iPod Touch
      3. AT&T, Sprint, and Verizon can block stolen phones/tablets
      4. What-To-Do-When-Iphone-Is-Stolen
      5. Lost or Stolen iPhone? Here’s What to do
      6. 6 Ways to Track and Recover Your Lost/Stolen iPhone
      7. Find My iPhone
    It pays to be proactive by following the advice on using Find My Phone before you lose your device:
      1. Find My iPhone
      2. Setup your iDevice on MobileMe
      3. OS X Lion- About Find My Mac
      4. How To Set Up Free Find Your iPhone (Even on Unsupported Devices)

  • How do I stop Firefox from opening with the last site I was on when I closed instead of using my home page?

    whenever I open firefox after closing it down, it always opens with the last page I was on. I have the settings to point to a specific homepage and have it set to always open on the homepage, but it doesn't.

    I am having a similar problem, I'm using "Show my home page" on start-up but firefox decides to always open to the last page visited regardless. I also generally close Firefox using the red X or with alt+f4. This problem is especially annoying when the last page 'visited' is an annoying pop-up ad that wasn't been caught by the pop-up blocker.

  • Lightroom 4 crashes when trying to open the slideshow module. I spent over three hours with both Adobe and Apple tech support and we know it is a permission issue but have not been able to get it solved.  It started with the last upgrade to 10.8

    Lightroom 4 crashes when trying to open the slideshow module. I spent over three hours with both Adobe and Apple tech support and we know it is a permission issue but have not been able to get it solved.  It started with the last upgrade to 10.8

    Back up all data.
    This procedure will unlock all your user files (not system files) and reset their ownership and access-control lists to the default. If you've set special values for those attributes on any of your files, they will be reverted. In that case, either stop here, or be prepared to recreate the settings if necessary. Do so only after verifying that those settings didn't cause the problem. If none of this is meaningful to you, you don't need to worry about it.
    Step 1
    If you have more than one user account, and the one in question is not an administrator account, then temporarily promote it to administrator status in the Users & Groups preference pane. To do that, unlock the preference pane using the credentials of an administrator, check the box marked Allow user to administer this computer, then reboot. You can demote the problem account back to standard status when this step has been completed.
    Triple-click the following line to select it. Copy the selected text to the Clipboard (command-C):
    { sudo chflags -R nouchg,nouappnd ~ $TMPDIR.. ; sudo chown -Rh $UID:staff ~ $_ ; sudo chmod -R u+rwX ~ $_ ; chmod -R -N ~ $_ ; } 2> /dev/null
    Launch the Terminal application in any of the following ways:
    ☞ Enter the first few letters of its name into a Spotlight search. Select it in the results (it should be at the top.)
    ☞ In the Finder, select Go ▹ Utilities from the menu bar, or press the key combination shift-command-U. The application is in the folder that opens.
    ☞ Open LaunchPad. Click Utilities, then Terminal in the icon grid.
    Paste into the Terminal window (command-V). You'll be prompted for your login password, which won't be displayed when you type it. You may get a one-time warning not to screw up. If you don’t have a login password, you’ll need to set one before you can run the command. If you see a message that your username "is not in the sudoers file," then you're not logged in as an administrator.
    The command will take a noticeable amount of time to run. Wait for a new line ending in a dollar sign (“$”) to appear, then quit Terminal.
    Step 2 (optional)
    The first step should give you usable permissions in your home folder. This step will restore special attributes set by OS X on some user folders to protect them from unintended deletion or renaming. You can skip this step if you don't consider that protection to be necessary.
    Boot into Recovery by holding down the key combination command-R at startup. Release the keys when you see a gray screen with a spinning dial.
    When the OS X Utilities screen appears, select
    Utilities ▹ Terminal
    from the menu bar. A Terminal window will open.
    In the Terminal window, type this:
    resetpassword
    That's one word, all lower case, with no spaces. Then press return. A Reset Password window will open. You’re not  going to reset a password.
    Select your boot volume ("Macintosh HD," unless you gave it a different name) if not already selected.
    Select your username from the menu labeled Select the user account if not already selected.
    Under Reset Home Directory Permissions and ACLs, click the Reset button.
    Select
     ▹ Restart
    from the menu bar.

  • How can i delete the new feature "get in contact with your favourite persons"?? When u press the "home" button twice, theres a list on top of the ipad with the last persons youve been in contact with. How do i delete that, or some of them ;-)

    How can i delete the new feature "get in contact with your favourite persons"?? When u press the "home" button twice, theres a list on top of the ipad with the last persons youve been in contact with. How do i delete that, or some of them ;-) Sorry for the danish  

    You can turn that feature off in Settings>Mail, contacts, calendars>Contacts>Show in App Switcher>Recents>Off.

  • I get a error message "To charge faster, use the cable and device that were provided with this phone" when charging my Samsung Galaxy note 3. I took it to a store last week and they said it has something to do with the last software update.  They tried ch

    I get a error message "To charge faster, use the cable and device that were provided with this phone" when charging my Samsung Galaxy note 3. I took it to a store last week and they said it has something to do with the last software update.  They tried charging it at the store and got the same message. I was given another phone, I still get the same error with the new phone.

    Wowuor, 
    Thank you so much for reaching to us today. I want to make sure that we get the device charging the correct way. There is no physical or liquid damage to the phone or to the power cord correct? Did this error just start to appear as of last week? Please keep us posted. 
    KevinR_VZW
    Follow us on Twitter @VZWSupport

  • Itunes locks up my computer every time I try to start it.  This has happened with the last few updates so I have not used it.

    itunes locks up my computer every time I try to start it.  This has happened with the last few updates so I have not used it.

    Hello oldsurfer250,
    After reviewing your post, I have located an article that can help in this situation. It contains a number of troubleshooting steps and helpful advice concerning iTunes for Windows issues:
    iTunes for Windows Vista, Windows 7, or Windows 8: Fix unexpected quits or launch issues
    http://support.apple.com/kb/ts1717http://support.apple.com/kb/ts1717
    If iTunes for Windows Vista or Windows 7 won't open, stops responding, or unexpectedly quits, try using the steps below. You may want to print this document before following these steps.
    Thank you for contributing to Apple Support Communities.
    Cheers,
    BobbyD

Maybe you are looking for

  • Send and Receive script for Outlook 2011 not working

    I used to have a script to send and receive mail in Entourage. When I change the script to: tell application "Microsoft Outlook" connect to every pop account connect to every imap account send end tell It hangs at the second line and I am not able to

  • How to create an interface

    Sorry for the newbie question. I was provided a class, and they said that in order to use this class the interface can just construct a new SampleClass and method1() followed by method2(). I've looked over the documentation on interfaces, but I still

  • MM Functional Consultant

    Dear All, Please explain me the functions of a MM Functional consultant in any SAP Implementation ??????  What r all his responsibilities ?? PLease explain Regards, Somu

  • How to email photoshop files with high resolution

    I need to send a photoshop file that is resolution 300 but it keeps converting to 72 when I email it. How do I email it and keep the 300 resolution?

  • Dbms_scheduler.Create_Scheduler Usage.

    Hi all, I am using 10.2.0.4.0 version of oracle. i am supposed to migrate all the Oracle jobs(DBMS_JOBS) to SCHEDULER format in my DB. Below is an example of a job which runs each day at 5 AM. I have coded the start_date value such that, i can execut