Duplicating Data in Calendar

Everytime I look at a tables data using calendar, it displays a new duplicate iteration of each row. If I look 5 times, it displays 6 duplicates. However no rows have been added to the table. Any ideas how to fix this?
Scott

The code is below. I found the problem. I referenced a second table in the from statement that caused the problem.
select
game_date.game_date the_date,
to_char(game_date,'HH12:MI')||' '||event the_name,
portal30.wwv_user_utilities.get_url('sports.link_game_details', 'event', game_date.event, 'game_date', game_date.game_date, 'home_name', game_date.home_name, 'visitor_name', game_date.visitor_name, 'venue_name', game_date.venue_name) the_name_link,
null the_date_link,
null the_target
from game_date
where game_date.home IN (SELECT team_id
FROM roster
WHERE username = portal30.wwctx_api.get_user)
OR game_date.visitor IN (SELECT team_id
FROM roster
WHERE username = portal30.wwctx_api.get_user)
order by game_date

Similar Messages

  • Need to convert  Date from calendar to String in the format dd-mom-yyyy

    Need to convert Date from calendar to String in the format dd-mom-yyyy+..
    This is absolutely necessary... any help plz..
    Rgds
    Arwinder

    Look up the SimpleDateFormat class: http://java.sun.com/j2se/1.4.2/docs/api/java/text/SimpleDateFormat.html
    Arwinder wrote:
    This is absolutely necessary... any help plz..For you maybe, not others. Please refrain from trying to urge others to answer your queries. They'll do it at their own pace ( if at all ).
    People on the forum help others voluntarily, it's not their job.
    Help them help you.
    Learn how to ask questions first: http://faq.javaranch.com/java/HowToAskQuestionsOnJavaRanch
    (Yes I know it's on JavaRanch but I think it applies everywhere)
    ----------------------------------------------------------------

  • Get date from Calendar Promt

    Hi Experts,
    Is it possible to get date from Calendar Prompt when operator is "greater then or equal to". In this setting I can not set presentation variable for prompt, why? There is other way to get selected date?
    Thanks in advance for any suggestion
    Regards,
    Esk

    Eskarina wrote:
    Hi Experts,
    Is it possible to get date from Calendar Prompt when operator is "greater then or equal to". In this setting I can not set presentation variable for prompt, why? There is other way to get selected date?
    Thanks in advance for any suggestion
    Regards,
    EskThe reason the Set Variable piece disappears is because a presentation variable cannot contain multiple values. If you want to perform a calculation on a date to filter your report, do this:
    1) Keep the Operator as "is equal to/is in."
    2) Now set your PV to what you want.
    3) In your report, build a CASE statement or use the TIMESTAMPADD function to make whatever calculation you want.
    Example: Let's suppose you wanted to filter your report for all Sales Dates "greater than or equal to" the prompt selection. You would set the date prompt to "equal" a date a user selects and then save it to your Presentation Variable, say pv_SalesDate.
    Now in your report on your Sales Date column, put a filter like this:
    tablename."Sales Date" >= '@{pv_SalesDate}'
    This will achieve what you are looking for.

  • How to import or sync Exchange server data like Calendar, Contacts with a web application or web service

    How to import or sync Exchange data like Calendar, Contacts with a web application or web service.
    1. Is there any API to import contacts and calendar (tasks and events) from exchange server to my calendar in web application using web services or http request. the user would have provided the username and password for his exchange account.
    2. Is there any licensing involved to communicate with exchange server for its data.
    thanks in advance 

    I am bit lost here; i have my exchange credentials, how (or) can i use the above mentioned solution for windows application or web services. can you please point in the right direction. my requirement is this: how to sync exchange data with a third party
    app or webapp(my development) using EWS. how to start with, starting point and steps to do[just overview ;)].

  • Date to Calendar Conversion

    I want to convert following class file from Date to Calendar
    pls guide me how shall i go about it
    package com.utility;
    import java.util.Date;
    public class ConstDate extends Date {
         public ConstDate(Date d)
            super(d.getTime());
        public ConstDate(long time)
            super(time);
        public void setTime(long time)
            throw new UnsupportedOperationException("Can not set time on ConstDate");
        public static ConstDate make(Date date)
            return (date instanceof ConstDate) ? (ConstDate)date : new ConstDate(date);
    }when i tried to do it said i need to implement the abstract methods, i want to know how can i go about doing the same too
    thanks in advance
    regards
    Prad

    Great, but the demand is to change from date to calendar so how can i extend it from interface i have made something like this
    import java.util.Calendar;
    public interface AbstractConstCalendar{
         public abstract Calendar add(int i, int j);
        public abstract Calendar computeFields();
        public abstract Calendar computeTime();
    Note: i just changed the above class file name from ConstDate to ConstCalendar
    how can i call this in above ConstCalendar Class, will this help
    regards
    prad

  • I have a 4s...today, for no apparent reason, I am missing data including, calendar appts, notes, contacts and maybe other things that I am not aware of right now.  I did nothing to cause this.  Any ideas on how to restore?

    I seem to have lost a significant amount of data from calendars (ll appts are gone), notes (a good percentage are gone) and contacts (more than 50% are gone).  I have done nothing to cause this.  Any ideas how I might restore everything?

    try turning the phone off and then back on it worked for me.

  • I would like to mark data on my iPhone / iPad as private or hide it. Is it possible? I could do it on my Palmpilot. Any data - addresses, calendar entries, files, anything could be hidden on the palm pilot. It'd be great to see this facility on apl pdts

    I would like to mark data on my iPhone / iPad as private or hide it and only unlock it with a different password. Is it possible? I could do it on my Palmpilot. Any data - addresses, calendar entries, files, anything could be hidden on the palm pilot. It'd be great to see this facility on apple products.

    I know what you meant. As I said, it's not possible to do so on the iPhone. Of course Apple could add such a feature to a future version of iOS, it's only software, but so far they haven't. You can suggest such a feature to Apple here: http://www.apple.com/feedback/iphone.html

  • How to make users to select the date from calendar control my making the date field read only in date time control in external list in sharepoint 2010

    How to make users to select the date from calendar control only, by my making the date text field read only (don't want to let users type the date) in date time control in external list in sharepoint 2010. I am looking for a solution which can
    be done through sharepoint desginer / out of the box.
    thanks.

    Congratulate you got the solution by yourself. I am new to a
    WinForms calendar component, I feel so helpless on many problems even I'd read many tutorials. This question on the
    calendar date selection did me a great favor. Cheers.

  • Display in a date picker (calendar)

    Hello,
    I have a date picker when i press a button, to choose a date from calendar. But some months are displayed with the year too, like November 2009, June 2009, and in this image i uploaded, in case of September only the month is displayed.. i don't know why the year does not appear. And not just in case of September, but December too.
    Any help?
    Thanks!
    I use Developer 2000 (Forms 5)
    Edited by: Roger22 on 22.09.2009 09:39

    Maybe it is just because there is no space enough to display both month and year. Is it possible to increase the width of the calendar box ?
    Francois

  • Create a function that convert date Gregorian calendar to Hijri calendar

    hey guys, i had an assesment i need to finish as my test for flash developer vacancy...
    i need to create a function that convert date Gregorian calendar to Hijri calendar in flash
    is that possible??
    i've search through google, but still doesnt find anything useful yet..
    kinda need ur help plz.....

    http://www.codeproject.com/KB/datetime/hijrigregorianclass.aspx

  • Localdefinitions.xml and format date for Calendar Prompt

    HI!
    1. I change in localdefinitions.xml all dateformats for my locale
    2. I restarted my BI
    3. no effects
    why?

    yes, I restarted presentation server and oc4j.
    but has no effects.
    date prompt has strange behaviour...
    for Administrator user
    in English locale
    default format YYYY-MM-DD
    after change date by calendar, it has M.D.YYYY format
    in my locale
    default format YYYY-MM-DD
    after change date by calendar, it has YYYY.M.D format
    for other users
    in English locale
    default format YYYY-MM-DD
    after change date by calendar, it has YYYY.M.D format
    in my locale
    default format YYYY-MM-DD
    after change date by calendar, it has YYYY.M.D format

  • Change format date for Calendar Prompt!!!

    Hello there,
    For a date prompt when I choose *"Calendar"* in my control, the default format shown by the calendar is d/mm/yyyy.
    I want to save the value of my date prompt into a Presentation variable with the format yyyy-mm-dd. What conversion function can be used to achieve this?. In oracle the easiest way is TO_CHAR(dateHere,'YYYY-MM-DD') but when I apply this in the Edit Formula of the prompt it gives me an error.
    I know the date format for a Calendar object can be changed in the configuration file, but I want to avoid this, because I might affect other users.
    Please help.
    Thanks
    Edited by: PabloC2 on Feb 18, 2009 1:36 PM

    yes, I restarted presentation server and oc4j.
    but has no effects.
    date prompt has strange behaviour...
    for Administrator user
    in English locale
    default format YYYY-MM-DD
    after change date by calendar, it has M.D.YYYY format
    in my locale
    default format YYYY-MM-DD
    after change date by calendar, it has YYYY.M.D format
    for other users
    in English locale
    default format YYYY-MM-DD
    after change date by calendar, it has YYYY.M.D format
    in my locale
    default format YYYY-MM-DD
    after change date by calendar, it has YYYY.M.D format

  • How to convert julian Date into Calendar Date

    Hi,
    I want convert julian Date to calendar Date (mm/dd/yyyy or mm/dd/yy format) in java.
    Can any one help me how to convert julian date to calendar Date.
    Thanks,
    Krishore.

    import java.util.*;
    import java.text.*;
    public class jdate {
    Calendar date;
    public jdate(int j)
    date = Calendar.getInstance();
    date.set(Calendar.DAY_OF_YEAR, j);
    public String toString()
    SimpleDateFormat formatter = new SimpleDateFormat("MM/dd/yyyy");
    return (formatter.format( date.getTime() ));
    public static void main(String args[])
    if(args.length == 1)
    int j = Integer.parseInt(args[0]);
    jdate julian = new jdate(j);
    System.out.println("Julian date(" + j + ") = " + julian.toString());
    }

  • How to implement a Date Picker (Calendar) as a LOV in Portal Form?

    I have a form, which will input date from user, and I also have javascript calender.
    How to implement a Date Picker (Calendar) as a LOV in Portal Form? Do I need to choose POPUP and LOV for Date?
    Instead of typing the Date within a Portal form, a popup Calender that will allow user to Pick a date.
    Please help anyone!!

    Once you have the JavaScript and have added it to your form, you need to the the following. First off, you need to be able to customize the HTML code for the form (i.e. choose custom for form type when creating the form). Once you do that go into the custom layout to customize your HTML code. Find the field you want to add the date picker to. It will be <#your_field_name.ITEM#>
    Paste this code after it:
    <a href="javascript:show_calendar('forms[0.elements[16');" onmouseover="window.status='Date Picker';return true;" onmouseout="window.status='';return true;"><img src="the source of your image file" width=34 height=21 border=0></a></TD>
    You will have to play around with the forms[0].elements[16]. 16 is what date field is set to. However your will differ, so just play with it.
    Hope this helps.
    Martin

  • How convert Date to Calendar

    i nedd convert a type Date to Calendar or how can increment a Date value in relation with the int value?
    Help me please

    Calendar has a setTime(Date) method, I think. You could look it up, I'm just going from memory. So create a new Calendar object and call setTime on it.

Maybe you are looking for

  • FATAL ERROR occurred during installation

    Trying to install a HP Officejet 4500 G510g-m onto a HP Desktop PC with Windows Vista. Error message reads: Fatal error message during installation An error occurred during installation of assembly 'Microsoft.vc90.MFC,version="9.0.21022.8",publickeyt

  • Component property declaration in a Custom Component

    Hello everyone, I have a question related to a custom component. I will define a use case and how I want to define a property. e.g.: I develop a custom component using Flex Library Project, with all manifest.xml, design.xml, locale etc. My component

  • Preserving finished pages in iWeb but taking them entirely offline?

    I have some published webpages that I'd like to take offline for a while, but not have to redesign from scratch if I decide I want to put them back online again. Anyone know how to do this? Thanks

  • Help Required regding: Validation on Data Loading from Flat File

    Hi Experts, I need u r help in the following issue. I need to validated the transactional data loading to the GL Cube from Flat file, 1) The transactional data to the Cube to be loaded <b>only if master data</b> record exists for the <b>“0GL_ACCOUNT”

  • Regarding SAP interface inforamation.

    Hi All, I want  to know some basic information about interfaces as : 1) Where we can check, is particular interface is active or not? 2) What type of master data does the IDoc contain (i.e. material master) ? Awaiting for your kind reply. With Regard