Problem with selector calendar in Forms 10 G

Hi, I am using a picker calendar (first time) in my forms. I researched and found a calendar.fmb sample. However, I tried to use it in my form and I'm having a few problems. It has a library of CALENDAR90 which uses a DATE_LOV (package Spec).

package date_lov is
last_lov_date number (2);
date of current_lov_date;
date_lov_return_item varchar2 (80);

lov_title varchar2 (80);
lov_auto_confirm boolean;
lov_auto_skip boolean;

weekend_highlight boolean;
number of weekend_day1;
number of weekend_day2;

procedure display_cal (display_date as);
procedure date_click;
procedure get_date (display_date as,
return_item in varchar2,
v_x_pos number: = 0;
v_y_pos number: = 0;
v_title in varchar2: = 'list of Date values.
v_ok in varchar2: = 'OK ', he said.
v_cancel in varchar2: = "Cancel."
v_highlight in boolean: = TRUE,
v_autoconfirm in boolean: = FALSE,
v_autoskip in boolean: = FALSE);
end;

And in the sample, it contains the following code in the button of the calendar:

date_lov.get_date (: orders.order_date,)
* 'orders.order_date' *.
0,
0,
"List of date values.
"OK."
"Cancel."
TRUE,
FAKE,
(FALSE);

My problem is the second variable (* 'orders.order_date' *) uses an element ( order_date ) from a table ( orders ). However, I would like to send the item back (date) at a non-base of data as a parameter element. So I used this instead:

date_lov.get_date (: block3.date_from,)
* 'block3.date_from' *.
0,
0,
"List of date values.
"OK."
"Cancel."
TRUE,
FAKE,
(FALSE);

I don't get an error, but the value of the element ( date_from ) has not changed. I tried to replace * 'block3.date_from' * with *': block3.date_from'* and the value of the element has been replaced, but it has an error: could not resolve the reference to the article: block3.date_from. How to solve this? I'm sorry for the question if it's pretty stupid and confusing. I hope you understand my point and can help me. Thank you

Then I opened my form of existing and copied manually setting the content of the calendar.fmb in my form by dragging one by one.

Don't do this - it is very easy to miss something that is necessary. Use the calendar.olb. Open the calendar.olb as you would for any shape. Highlight the libraries of objects of the object Navigator node and double-click on CALENDAR. This will open a palette object library and you will see a group of objects in the tab called CAL_OBJECTS CALENDAR. Drag and drop it on the node groups of objects in your form. This will add all necessary required items for the work schedule. These steps are in the article online, and the calendar.olb is included in the calendar.zip.

In addition, you said that I should not call the get_date procedure but rather proceed as show_calendar. First of all, the get_date procedure is anchored in the calendar library so should I remove it manually from the program of date_lov unit?

I apologize - I gave you bad information :( I was watching a form I did for my company that was different from what I used in my article. {: 8}

DATE_LOV. Get_DATE is the good method to use. The Show_Calendar procedure is a private procedure package and is not visible outside the package.

Once you have copied all the items required in your form - I think that it can resolve all errors.

Craig...

Tags: Oracle Development

Similar Questions

  • As a plug-in?  I have problems with an editable IRS form.   It gives me "Access denied" and then opens the file as an editable file.  I was able to open the form in the library.

    As a plug-in?  I have problems with an editable IRS form.   It gives me "Access denied" and then opens the file as an editable file.  I was able to open the form in the library.

    I found a few other questions on this forum who have remained unanswered.   I found a site citing the problem for drive X - I use XI.

    Change to drive XI.   Perhaps the reader at the library had this as its default setting.

    1. In Adobe Reader, clear the check box enable the Mode protected at startup :

      • If you have a PDF open, right-click the document, and then click Page Display Preferences.
      • If you open Adobe Reader from the shortcut, click on Edit > Preferences.
    2. In the categories dialog box Preferences pane, click (enhanced) protection, and then clear the box enable the Mode protected at startup .
    3. Close and reopen Reader.

    I have no idea if that setting has been changed in my XI player since I used this version exactly one year ago.

  • I have a problem with the calendar missing in when I brought my production files.

    I have a problem with the calendar missing in when I brought my production files.

    Hi, I brought my files on production server by dumping my production test folder. I brought my whole file it.

    This is a calendar of java script.

    In the test server, it works fine.

    The calendar written in java script is here. But when I managed to put in production the calendar disappeared.

    I'm still new to this, infact it's a fixed quick. I got the parts together.


    Advice on how I can get it from test to production the same way running server.

    I appreciate your help.
    Thank you

    Seems to get more acquainted with how ColdFusion is installed on your production system. You might find web root under a directory like/inetpub/wwwroot/and are usually directly above where you ColdFusion templates are located. Can't speculate as to what 'reader' it would be, as you didn't say if you're on UNIX, Windows, MAC or Linux, etc., not that this would help a lot. Who configured your server, or at least who is the administrator or webmaster? I would like to have a conversation with him or her.

    Phil

  • Problems with shared calendars

    We have 6 users on a network home wifi using various devices.

    All devices running the latest versions of the software (El Capitan or iOS).

    I'm having a problem with two of the machines. One, a (white Macbook) is a whole number of different personal (in calendar) calendars that she has developed its own purposes.

    I also developed another list of calendars for commercial use on my 27 iMac mini ipad in 4 and my iphone 5 s).

    The problem is that the two sets of calendars (all) appear on both machines and send notifications for all of my machines. They are not bound by the Family Division. This causes a lot of confusion for both of us, a real pitb.

    Other users of the system are linked to my computer via the family sharing and only 'family' calendar is shared. Personal calendars of others, these machines do not appear on other computers, nor are personal calendars since the visible white Macbook to other machines, only on my machines (iMac 27 in. also my iPad Mini 4 and my iphone 4S.)

    The root of the problem seems to be with the white macbook. I tried to export this machine for backup schedules and then remove them from the application. When I start the calendar on this machine, all calendars (from these two machines) are installed again.

    I don't want to delete all schedules of these two machines because there is a lot of information already entered, that would be a pitb to re-enter.

    Suggestions, please.

    Best regards, Frank

    Solved this problem. Discovered that the machine at the origin of the problem was still linked to my apple ID.

    To all those who might have a similar problem in the future:

    Solution:

    All personal calendars that are exported to the desktop of the other machine and then disconnected my apple on this machine ID.

    Reboot the machine and then imported the personal calendars in the calendar on this machine.

    Went to my desktop and deleted all of the additional personal calendars there.

    Checked the other machine to see that personal calendars still existed.

    Success

  • I have problem with the compiler of forms

    HIII everyone
    I have problem to compile a simple form created in Forms Builder everything works fine... .i can cocnect with sql developer tailor I can connect with sql plu...
    I fllowed this steps just to complie simple form
    1-i run start an OC4J Instance and it show that
    **********************************************************************
    C:\Users\lotfi\Desktop > C:\oracle\DevSuiteHome\jdk\bin\java-Doracle.security.ja
    Zn.config=C:\oracle\DevSuiteHome\j2ee\DevSuite\config\jazn.XML-Doracle.home=C:\
    oracle\DevSuiteHome-DORACLE_HOME = C:\oracle\DevSuiteHome-jar C:\oracle\DevSuite
    Home\j2ee\home\oc4j.jar - userThreads - config C:\oracle\DevSuiteHome\j2ee\DevSuit
    e\config\server. XML
    07/12/11 11:39:57 oracle Application Server containers for J2EE 10 g (10.1.2.0.2)
    initialized
    ***********************************************************************
    2. I lance Forms Builder is run correctly I conect with 'hr' and my password and it connect properly... and I creat a simple form with datablock continues the table 'country '.
    3 - I save the form and run and it works correctly with mozila firefox as java applet... and just it ask me to login again with the same information that I entered at the beginning... but in the console of I 'Start an OC4J Instance', it adds the text
    ********************************************************************************
    07/12/11 11:59:32 FormsServlet init():
    configFileName: C:\oracle\DevSuiteHome/forms/server/formsweb.cfg
    testMode: false
    07/12/11 11:59:33 ListenerServlet init()

    *********************************************************************************
    4. now I want to compile my form just to not run as java applet... .i run forms 'Compiler' and I chose the form and I enter the information of the user and the database and type is FORM and and I press 'ok' * it take about 3 seconds and form compliler window disappear that's my problem gys how can I complete my form *.

    You cannot run the form without the applet on the client, and also there is no way or the need to create a file your application like .exe basically ask you a URL on the client.

    See this document for an explanation of the architecture of Web Forms: http://www.oracle.com/technetwork/developer-tools/forms/forms9iarchitecture-1-132221.pdf

    see you soon

  • Problem with Oracle Sales Order form customization

    Hi all

    We have a problem in the sales order form customization. Here we try to customize three field based on the type of order

    Scenario:

    NAV-> Oredr management type Super User-> commands, returns-> sales orders-> order-> standard

    In this type if we are sailing to the lines, he should ask the following fields as required
    (Nav-> Oredr management form Super User-> commands, returns-> sales orders-> others)

    1. mode of delivery
    2. conditions related to the transport
    3. priority shipping of


    NAV-> Oredr management Super user-commands, returns-> sales > orders-> order-> Bill only & internal RMA type


    then he must navigate to line items without asking these three fields.

    For this, we have made the following customization grace-> Diagnostics-> Custom Code-> customize

    Level-> shape
    Activated-> Yes

    Condition

    Triggering event: When-validate-registration
    Trigger object: order
    Condition: (: ORDER.) ORDER_TYPE not like '% INTERNAL') and (: ORDER.) ORDER_TYPE do not like ' % BILL %') and (: ORDER.) ORDER_TYPE not like '% RMA')

    Processing mode: both
    level: site


    Actions

    SEQ:10
    type: property
    Description: Make required field
    language: all
    activated: Yes

    object: article type
    target object: ORDER. SHIPPING_METHOD
    property name: REQUIRED
    value: TRUE

    Actions

    SEQ:10
    type: property
    Description: Make required field
    language: all
    activated: Yes

    object: article type
    target object: ORDER. Terms of freight
    property name: REQUIRED
    value: TRUE



    Actions

    SEQ:10
    type: property
    Description: Make required field
    language: all
    activated: Yes

    object: article type
    target object: priority ORDER.shipment
    property name: REQUIRED
    value: TRUE


    Problem

    If the order type is standard the following fields should be mandatory without these fields, that it shouldn't navigate to line items

    1. mode of delivery
    2. conditions related to the transport
    3. priority shipping of

    If the ordar enter as the Bill only or internal or RMA

    1. mode of delivery
    2. conditions related to the transport
    3. priority shipping of

    not required must navigate to line items

    to do this, we made three customization for these three fields as mentioned above

    but the problem is

    When we first select the type of ordar like Bill only or internal or RMA, he works as expected the gall sare not obligatory the without closing the form, if we choose the command type as standard so if I try to navigate lines it is not afford without going into the three areas. But incase we first select the standard type order then we navigiting to the lines is not allowing us without going into these three fields as expected. Therefore, the problem is without closing the form now we changed the command type as Bill alone or internal or RMA now also these fields stay as mandatory is the question.

    Hope, the problem is clear to you all.

    If somone can help to solve this as soon as POSSIBLE, we would be grateful to you.

    Thanks in advance

    Kind regards
    CSK

    Rather than make the fields required, why not you just popup a message of error if the shipping_method is empty.

    If the personalization will look like this
    => trigger when-validate-record
    condition => (: ORDER.) ORDER_TYPE not like '% INTERNAL') and (: ORDER.) ORDER_TYPE do not like ' % BILL %') and (: ORDER.) ORDER_TYPE not like '% RMA') and (: order.shipping_method is null)

    action-online error-online you cannot save this record mode of delivery is not met.

    You repeat this customization for priority, but also the conditions related to the transport.

    Hope this helps,
    Sandeep Gandhi

    PS: Another option is to use two times-news-registration-Forum customizations. The first is the required fields if the order type = STANDARD.
    And the second customization if required fields is not the order type! = STANDARD. Since you do not have this second customization, the fields remain necessary even when you select a type of STANDARD command.

  • Problem with LOV in Oracle forms 10g when running on the Web

    Dear

    I am facing problem in displaying LOV under Oracle developer 10g on the web.
    When I press F9 nothing appears on the screen, but in the taskbar, it displays a list of values.
    The query I used in the record group executed in SQL * more and it is there no problem with him.
    What all I need to do, pls help me to solve the problem.

    Thank you

    Hello

    You are welcome. :)

    whenever the issue is resolved, please mark it as correct and useful so that others may know what is the correct answer.
    and take a look at the Label of Forums

    Kind regards

    Manu.

  • Problem with oracle page OFA form parameter passing

    Dear all,

    I have a requirement as below

    I have a custom page of OAF I need call from a menu in the form of oracle, so I sm able to invoke the page in the menu but I need to move a form parameter to a page ofa form personlization, I am able to get the same thing, but my parameter contains date with time stamp, so when iam passing only day It works very well but with dtamp time it gives error like URL invalid because of some special character. So I found some links only when there is a space between the date and the time dtamp it gives question so please help me how I can handle this I need to get the date with timestamp in my page.

    Thank you

    Thanks for the reply,

    I solved the problem by using different functions through PL/SQL

  • Problem with HTML and PHP form...

    Hello

    Can someone help me please...

    Im a beginner at Web design and have created a few sites only, but when it comes in contact with the page it always have problems me. I know this must be a simple process but not for me lol.

    IM so frustrated. I finished the site transferred, but the contact page will not work. I download the two html file containing the form and the php in the folder file root on the server (which supports php), and again, it won't work. I went over and over the script but I can't see where im going wrong.

    Please someone take a look and the two files one see if they can pinpoint where im going wrong?

    I would be so grateful!

    See you soon

    Dan

    You should really check Forms To Go. I use this software to treat all of my forms. I can easily apply validation, configure the e-mail settings and redirect to a thank you page using its graphic interface without having to write a single line of php code. The unregistered (free version with limited functions) will do everything you need.

  • problem with showing the report forms

    Hello
    Today, I have another problem :)

    I fix this text and it's simpler

    I have run reports of froms and I use RUN_REPORTS_OBJECT_PROC

    If I use standard report_id in this procedure, then I get

    WEB. SHOW_DOCUMENT ('http://oracle:8889 /'| reports_servlet |) ' /getjobid' | vjob_id |'? Server =' | report_server_name, "_blank");

    If the report is not any parameter is ok and this work but if I put some then I get page with witch element, I set value (parameter witch I want) then when I put send query I get error REP-50134

    But
    If I use
    WEB. SHOW_DOCUMENT ('http://oracle:8889 /'| reports_servlet |'? server = raportserv & report=c%3A\raporty\mod.jsp & destype = CACHE & desformat = HTMLCSS & userid = SCOTT % 2FTIGER % 40SZD & paramform = "Yes);

    I can open reports with the setting or not :)
    Where is the error in how hidden values see report_object?

    concerning

    Published by: user515960 on 2010-07-06 08:00

    Hello

    If you want to use parameters, then you need to create the report with parameters and your query owes me something like that.
    example: -.

    select ename,empno,sal.....from emp
    where empno=:p_no.............so here :p_no is parameter.now how you will use this in form with that code which is provide you in u r previos thread.
    

    something like that.

    DECLARE
    repid REPORT_OBJECT;
    v_rep VARCHAR2(100);
    rep_status VARCHAR2(20);
    plid ParamList;
    vParamValue number;
    BEGIN
    
    plid := Get_parameter_List('tmp'); 
    
    IF NOT Id_Null(plid) THEN
    Destroy_parameter_List( plid );
    END IF;
    plid := Create_parameter_List('tmp');
    add_parameter(plid,'p_no',text_parameter,to_char(:emp.empno));---------------here you have to add your block name and item name and also we add parameter(P_no) which is created in report builder with the above query.
    
    Add_parameter(plid, 'PARAMFORM', TEXT_parameter, 'NO');
    
    repid := FIND_REPORT_OBJECT('REPORT6');-----------------when you create report by using report nodes in form builder so you hav to Presss F4 to go to Property and there you have to set the report server name,desformat which is PDF and report name which is Report6 and also there in property u have to give the report path.
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_COMM_MODE,SYNCHRONOUS);
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESTYPE,cache);
    
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_DESFORMAT,'PDF');
    
    SET_REPORT_OBJECT_PROPERTY(repid,REPORT_OTHER, 'paramform=no');
    
    v_rep := RUN_REPORT_OBJECT(repid,plid);
    rep_status := REPORT_OBJECT_STATUS(v_rep); 
    
    WHILE rep_status in ('RUNNING','OPENING_REPORT','ENQUEUED')
    LOOP
    rep_status := report_object_status(v_rep);
    END LOOP; 
    
    /*Display report in the browser*/
    WEB.SHOW_DOCUMENT('http://computer name/IP:8889/reports/rwservlet/getjobid'||substr(v_rep,instr(v_rep,'_',-1)+1)||'?
    '||'server=report_server_name' || '¶mform=no','_blank'); 
    
    END;
    

    Note:-you need to start the report server before displaying the report.

  • BlackBerry smartphone Blackberry 8220 Flip phone - problems with the calendar

    I just upgraded to a Blackberry Flip and when I inserted my SIM card from my other phone, appointments in the calendar have all lost.  Is it possible I can get these entries?

    OK, is not a problem, download Nokia Pc Suite from this link

    http://Nokia.us/A41423655

  • Problem with my calendar blackBerry Smartphones

    So, I got my Blackberry Curve 8330 with Software v4.5.0175 for over a year.  My theme today is BB Dimension.  Randomly and for no reason apparent to my calendar appointments and tasks no longer appear on my screen where time is the day and date, coverage status and my 4 choices: Messages, calendar, call history and Applications.

    I tried pulling the battery, change the themes and spent 40 minutes on the phone Verizon Blackberry Support.

    Any suggestions?

    Finally, I had a Verizon person.

    She had opened me to the top of my calendar, press the blackberry menu next to the trackball button, and then click options.  then just type: 'move '.  Then choose Yes when asked to move all appointments.

    My calendar is now fixed!

  • Problems with 4 videos k form the Dji Phantom 3 Professional

    Hello everyone

    I filmed a few k of 4 videos with my Dji Phantom 3 Professional and wanted to edit with Premiere elements 14. My problem is that in the preview window filmclips stutter and stop all the time. Anyone have any advice for me?

    Thanks in advance

    Niklas

    Hello ATR

    My camera is shooting video with 30 frames per second.

    Unfortunately, nothing changes if I restore the file.
    I use a .mov file and I have installed the latest version of QuickTime player 7. I don't have the problem of the preview when I look at the video after the export.

    Thanks for your response!

    Niklas

  • Problem with EAS calendar

    When I changed an event on Outlook (from today to tomorrow), it has not changed on my pre.  It still shows on my pre as an event today.  I tried the manual "Synchronize now" under "Preferences and accounts", but the event has not changed.

    Someone knows how to fix this?  I want to be able to count on the calendar on the pre, but if events do not change when it is changed in Outlook, it is a problem.

    Removal of the Regional service account and adding it again on the Meadow seem to have solved the problem.  I changed an event on Outlook, and a few minutes later he appeared on the pre.  Thanks for your help!

  • Problems with email on the form widgets

    I would create widgets to form on muse BC hosted websites and adding several email address for their presentations to the and am experiencing problems.

    Often, when there is more than one, they don't all receive comments.

    Any tips?

    Relay works, it can be a problem in receiving end too, as the mailbox is full does not correctly send the customer number used etc.

    Please try to use different e-mail account to test the e-mail process.

    Thank you

    Sanjit

Maybe you are looking for