Calendar object in Forms 9i

A number of difficulties using Calendars in forms 9i.
1). I can't drag/drop from the Standards object library to the forms module. The cursor remains as a cirlce with a diagonal through it.
2). Can't find Calendar.PLL ; has this been renamed in release 9i ? All I can find is OFGCALL.PLL .

I use OFGCALL.PLL in Forms6i. It comes with Oracle Designer. In a Key-Listval trigger of item just put:
BEGIN
display_calendar;
END;
Also you have to put to your form:
canvases - CALENDAR, CALENDAR_TIME
window - CALENDAR
visual attributes - CALENDAR_SELECTED,
CALENDAR_SELECTED_TODAY,CALENDAR_CURR,CALENDAR_CURR_TODAY
CALENDAR_OTHER,CALENDAR_OTHER_TODAY,CALENDAR_CURR_DISABLED,
CALENDAR_CURR_DISABLED_TODAY,CALENDAR_OTHER_DISABLED,
CALENDAR_OTHER_DISABLED_TODAY
procedure - DISPLAY_CALENDAR
and attach OFGCALL.PLL library.

Similar Messages

  • Using a Calendar object in Forms 6i

    Hi,
    I've a problem when I use the STNDR20.OLB and CALENDAR.PLL. There's a missing procedure called "date_choosen" in the OLB & the form does not compile.
    Does anybody have a workaround for this or another OLB/PLL to resolve this issue ?
    thx
    Kalpana Subramanian

    Were u I look for the ofg---.pll.
    I can't find it my system
    --kalpana                                                                                                                                                                                       

  • How to Use a Calendar object in Forms 6i

    Can any one help me how to display Calander LOV
    I can't find STNDRD20.OLB and CALENDAR.PLL in my system
    thx
    [email protected]

    You have to install Forms Demo from CD and then you'll find required *.olb and *.pll. All about using calendar in Forms 6i you can find in this forum - simply search it.
    Helena

  • How to set up calendar in Oracle Forms

    Hi All,
    I have a requirement where I have to create calendar based upon user inputs:
    for e.g the calendar should of 12 periods each period having 4 weeks in the year 2007.
    How to approach the requirement...???
    Can I use the approach on the calendar object in forms or I have to create a Package for that.
    Regards
    Saugata

    iCloud will not sync calendars from an external account such as Google.  If you have a Google calendar and want to sync it with your iPad, add your Gmail account to your iPad by going to Settings>Mail,Contacts,Calendars>Add Account>Google and turn Calendars on.  Your Google calendar will then appear in the Calendar app on your iPad and you can leave your other devices the way they are now and they will all sync using Google.

  • Is there a way to add event details using a calendar object vs. those dumb field entry boxes?

    I have switched from PC to Mac over a year and a half ago, and have been plagued with the "dumb" date entry boxes in iCal and now Reminders on the mac. For one, they don't show you the DAY OF WEEK for an event, it assumes you are parked on that day, but of course reality sets in and causes constant date changes for events. Picking a date in the future would be much more helpful if Apple followed some usability norms in iCal. For instance, if you are booking a flight online, those helpful little calendar objects pop up, and further, they are smart about "end dates and times" for events, knowing it can't be earlier than the start date. Apple iCal unfortunately always thinks you are creating an ALL DAY event, and when you change the start time, it creates the end time for the next day. Not very smart. Or is it me that is not very smart for constantly hawking every little data entry field for correctness. Why, oh why dear lord has Apple not given some usability attention to iCal on the mac??? At least match the interface of the iPhone with a nice little slot machine rolling control.
    Is there an add in?
    Is there hope that Apple will ever fix its lagging Mail and iCal apps on the Mac?
    Please advise. Or just offer a kind word of consolation if there is no hope for a better interface.

    In the future, Swing related questions should be posted in the Swing forum.
    The code you posted is of little use since it uses custom classes so we can't see the behaviour of your code.
    In general if you add a component to a Container at run time then you just use
    container.revalidate()
    This will invoke the LayoutManager and repaint the components in the container based on the new layout.

  • Urgent. Need help in the Calendar Object.

    Hello developers, best regards!
    Well my problem is that i'm facing a fact that i need a calendar object just like that one when u click the time down there in the taskbar, i need to embedd it in my java windows application.
    To be more clear, if u're familiar with the Visual Basic.NET environment, just the kind of calendars that i need is found there, in which it displays a small box which i can select the months, and accordingly i can select the specific date i need.
    Please i need your help so much.
    Thank you in advance.

    [url http://www.google.co.uk/search?hl=en&q=jcalendar&meta=]click

  • Printing Date with Calendar Object

    I am trying to print the current date of a calender object in a mm/dd/yyyy format.
    When I call system.out.println(now.getInstance()); and scroll through the console, it shows DAY_OF_MONTH=29, YEAR=2006, MONTH=6 for July 29, 2006. I realize months are zero based, so month is really 7. My question is, why does:
    System.out.println(now.MONTH + " " + now.DAY_OF_MONTH + " " + now.YEAR);
    print 2 5 1.
    Logic tells me it should print 6 29 2006.
    I have searched previous posts, and couldn't find one that answers my question. How do I take a Calendar object and print its current set date?

    My question is, why does:My question is: why do you care how a Calendar stores its data? If you want to print it, get a Date instance from it and run it through a SimpleDateFormat to get a String representation of the date.
    Don't mix up data and presentation.
    And to answer your question: you don't print the Calendar's date attributes, but the values of some static constants.

  • Convert a calendar object to a date object

    hi all...i use a calendar to select date and i want to convert the Calendar object returned to a date object ..how could i do that ?? i use the following lines of code but the Date object returned is not correct ..i mean it's not the one i chose from the calendar
    Date selectedDate=new Date();
    selectedDate=(calendar1.getTime());
    Any one could help....thank you

    Show us the code where you set the calendar to your desired value. Calendar1.getTime()
    should return the relevant date.

  • Adding calendar to parameter form

    Hi... do u know how to add calendar in parameter form in Oracle Apps ??
    the standard parameter in oracle apps just in teks like 25-Aug-2009 not in calendar visualization...
    thx in advance...

    You will need the Assembler Invoke DDX operation to do this. It can be found under the common category. Inthe DDX reference it will show you how to add attachments to the PDF.

  • Date change problem in Calendar object

    Hi i have a calendar object for date representation.
    When i need to go ahead a day i use a add method that adds a day to the Calendar object, and if the date is out of range it adjustes proerly to the next montha and proper date in that next month.
    But it fails for 2 instances in a year.
    From May to June and From October to November.
    This i think is happenning because of the Daylight saving times in the May and October.
    I try to go from May to June but it never does on it's own !! Do i have to explicitly check that for those 2 months or there is any other method ?
    How can i get over it ??
    Please help me with this.
    Shailendra

    Hi
    There may be some other reason for it, coz Day light savings starts in last week of March, not in May.
    And day light savings ends in Last week of October
    Suresh

  • Outlook Calendar Appointment Custom Form Finding Contacts

    I have an Outlook Calendar appointment custom form with a button to enter contacts. When the user presses the button, it brings up a window that starts in the user's own contact folder. Since the user of this application is supposed to use contacts in
    a designated public folder instead of their own personal contacts, they have to drill down through public folders to get to the right place. Is there a way to have the window open up pointing to the folder I want them to use, so they don't have to drill down
    each time? Thank you in advance to anyone who can help.

    Hi Linda,
    I cannot find a way to achieve this. However, if you just want to click the Contacts button to select the attendee, we can just add the Address Book button to the Quick Access Toolbar. To do this, go to File > Options > Quick Access Toolbar, select
    All Commands and find out Address Book, then click Add button.
    Now, when you create an appointment, you can just click the Address Book button from the QAT to open the contacts. (First, please make sure you have adjusted the display order as my first reply)
    Regards,
    Steve Fan
    TechNet Community Support
    It's recommended to download and install
    Configuration Analyzer Tool (OffCAT), which is developed by Microsoft Support teams. Once the tool is installed, you can run it at any time to scan for hundreds of known issues in Office
    programs.

  • Calendar object for the next week day

    I have a calendar object,
    How can I get the calendar object the comes on the next Tuesday or for that matter any week day.
    For example I have the calendar object for today ie. Monday, 7th Aug 2006. How can I get the calendar object for the first saturday after today.

    What you do is calculate how many days ahead it is.
    This would be the target day, less today's day
    reduced to modulo 7. Add 7 to guarantee the %
    operator works correctly e.g.
    cal.add(Calendar.DAY_OF_YEAR,(7 + Calendar.SATURDAY -
    cal.get(DAY_OF_WEEK)) % 7);
    Requires that the numeric values associated with the days of the week are ordered and one apart. Even thought this is the case, the API does not say this is the case so it should not be assumed.

  • Converting String to Calendar Object

    Hi,
    I nedd to Change the below String to Calendar Object.i want to show the records which are older than half an hour.any other idea which will solve my problems?
    Fri Aug 17 01:56:40 GMT+05:30 1906
    Thanks in advance.
    Regards:
    Akash.

    Look at
    java.text.SimpleDataFormat

  • How to calculate number of days between Calendar objects

    Hi,
    I need to calculate the number of days between two Calendar objects. Here is some sample code:
    Calendar now = Calendar.getInstance();
    now.set(Calendar.HOUR_OF_DAY, 0);
    now.set(Calendar.MINUTE, 0);
    now.set(Calendar.SECOND, 0);
    now.set(Calendar.MILLISECOND, 0);
    // get a calendar that represents a day in the past
    Calendar aDayInThePast = getADayInThePast();
    aDayInThePast.set(Calendar.HOUR_OF_DAY, 0);
    aDayInThePast.set(Calendar.MINUTE, 0);
    aDayInThePast.set(Calendar.SECOND, 0);
    aDayInThePast.set(Calendar.MILLISECOND, 0);
    // how can I calculate the number of days ago this was??
    //it would also be useful to get back a negative number if the day is in the future

    My favorite answer so far is reply 15 by Marc__: http://forum.java.sun.com/thread.jspa?threadID=488668&start=15

  • Calendar object being buggy

    Hi, I'm not new to Java, but this seems like the best place for this question: I have some code dealing with parsing and reading schedules:
           Calendar now = Calendar.getInstance();
              Calendar startDateTime = (Calendar) startTime.clone();
              Calendar stopDateTime = (Calendar) stopTime.clone();
              startDateTime.set(Calendar.YEAR, now.get(Calendar.YEAR));
              startDateTime.set(Calendar.MONTH, now.get(Calendar.MONTH));
              startDateTime.set(Calendar.DATE, now.get(Calendar.DATE));
              stopDateTime.set(Calendar.YEAR, now.get(Calendar.YEAR));
              stopDateTime.set(Calendar.MONTH, now.get(Calendar.MONTH));
              stopDateTime.set(Calendar.DATE, now.get(Calendar.DATE));
              if (scheduleType == 0) //weekly
                   for (int i = 0; i < schedule.length(); i = i + 3)
                        //System.out.println (TIMEFORMAT.format(startDateTime.getTime()));
                        startDateTime.set(Calendar.DAY_OF_WEEK, Integer.parseInt(schedule.substring(i, i + 1)));
                        stopDateTime.setTime(startDateTime.getTime());
                        stopDateTime.add(Calendar.DATE, Integer.parseInt(schedule.substring(i + 1, i + 3)));
                        System.out.println (TIMEFORMAT.format(startDateTime.getTime()) + " " + TIMEFORMAT.format(new Date()) + " " + TIMEFORMAT.format(stopDateTime.getTime()));
    ...My out put is:
    2008-11-24 09:47:00.000 2008-11-10 10:26:14.981 2008-11-27 15:00:00.000
    Which is not what I though I'd get (startDateTime and stopDateTime should be 2008-11-10, 2008-11-13).
    However, if I uncomment the "System.out.println(TIMEFORMAT.format(startDateTime.getTime()));" right after the if statement, my out put becomes:
    2008-11-10 09:47:00.000 2008-11-10 10:27:33.924 2008-11-13 15:00:00.000
    Which is what I want.
    This makes no sense to me, that System.out.println is apparently "changing" something. The closet I can figure is that System.out.println gives more time for something to do something. Shrugs.
    I figure I can bandaid it by setting the startDateTime/stopDateTime to (Calendar) now.clone(), and then setting the specific hour, minute, second to the stopTime/startTime instead, but this is really bugging me.
    Thanks for any help.

    I've been working with java for 4-5 years, and I'm studying CS for my major, so I thought myself at least not new, but I suppose if the experienced say so, then I guess my self-estimation was wrong. Well, this is a good reality check.
    Before anything else though, about what you said about .getTime() ("It is also setting startDateTime to the current time"). I'm under the impression that .getTime() get's the Calendar object's current time as a Date object (which as far as I've used, seems to be true) and also calculates the millisecond value. So if my Calendar is set to "January 2000", when I call .getTime() on it, do I get back a Date object set to "January 2000" (what I set it to) or "November 2008" (today's date)?
    As for the program, I read in a schedule, a start_time, a stop_time (as well as the schedule_id, but that's not important) from a database, and create a schedule object. Then in one method of my Schedule object I check if the current time is in the schedule. I create startDateTime and stopDateTime objects on the fly since if the program runs overnight to the next week, a startDateTime, stopDateTime created at initialization will be wrong.
    Here's a very heavily stripped down recreated version with a main and the test case I was using so you can run this.
    import java.text.SimpleDateFormat;
    import java.util.Calendar;
    import java.util.Date;
    public class Schedule2
         //date formatter
         private static final SimpleDateFormat TIMEFORMAT = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss.SSS");
         String schedule;
         Calendar startTime = Calendar.getInstance();
         public Schedule2(String schedule, Date startTime)
              this.schedule = schedule;
              this.startTime.setTime(startTime);
         public boolean nowInSchedule()
            Calendar now = Calendar.getInstance();
              Calendar startDateTime = (Calendar) startTime.clone(); //set the time values to correct values
              startDateTime.set(Calendar.YEAR, now.get(Calendar.YEAR)); //set the year/month/date values to correct ones
              startDateTime.set(Calendar.MONTH, now.get(Calendar.MONTH));
              startDateTime.set(Calendar.DATE, now.get(Calendar.DATE));
              for (int i = 0; i < schedule.length(); i = i + 3)
                   //System.out.println(TIMEFORMAT.format(startDateTime.getTime()));
                   startDateTime.set(Calendar.DAY_OF_WEEK, Integer.parseInt(schedule.substring(i, i + 1))); //sets current day_of_week to the one in the schedule
                   System.out.println(TIMEFORMAT.format(startDateTime.getTime()));
                   //when I check the startDateTime.getTime(), here is when I get the wrong date (2008-11-24 instead of the 10th)
              return false;
         public static void main(String [] args)
              Calendar a = Calendar.getInstance();
              a.set(1899, 12, 30, 10, 50, 0);
              Schedule2 sked = new Schedule2 ("203", a.getTime());
              System.out.println(sked.nowInSchedule());     
    }So in my test case, I had "203" as the schedule, meaning every Monday until Thursday (first digit is Monday, second two is the number of days the schedule lasts) and the start_time as "30/12/1899 10:50:00 AM".
    I expected to get back "2008-11-10" since this week's Monday falls on the second, but instead I got "2008-11-24".
    I did read the Calendar API, but I suppose I didn't understand it fully. .set() updates the fields, but not the millisecond value. So, maybe .set(Calendar.DAY_OF_WEEK, ...) is not doing what I think it is doing because the millisecond value isn't computed yet, and .set(Calendar.DAY_OF_WEEK, ..) seems more complicated than just setting straight YEAR/MONTH/DATE.
    I'm using Java 1.4.2 BTW.
    Edited by: Yi.Liu on Nov 10, 2008 12:57 PM

Maybe you are looking for

  • Voice editing software for mac

    hey i am a windows user currently and have Expstudio, what it does it edit my music and give it effects such as changing pitch, etc but it also can change the voice of the singer without changing the length of the song or from what i can tell the pic

  • Using cascade -- Help

    could someone explain to me how to use cascade in ejb3 I have the following: A --> B --> C --> D --> E (I need A for B and I need B for C ..etc) I created a method called deleteC() if I want to delete C .. then how can I delete all of its constraints

  • Default Barcode Scan field in Agentry SMP 3.0 WindowsCE Client

    Hi Experts, We are currently implementing Inventory Manager 4.0 and have a need to default the cursor to the Barcode Scan field when navigating from a menu screen to a transaction screen. However, a blank screen displays with just a Cancel and OK but

  • My iPad is very slow

    When watching videos it takes forever.

  • Can I use an Airport Express to extend coverage for Apple TV

    I hooked up an Apple TV today to replace my Airport Express. Is it possible to use the Airport Express to extend coverage throughout my house for the appleTV, or are they not compatible in that sense?