the function on forms 4.5 problems

Hi all... can anyone help me to solve my problem... im so depressed with this... :(

I create a function object to our test server with this script: where sc_hijri_end_date
is VARCHAR2 (30) in the TEST table.
--------------------------------
create or replace
FUNCTION f_conv (p_hijri_date IN VARCHAR2)
DATE OF RETURN
IS
BEGIN
RETURN TO_DATE (p_hijri_date, ' dd/mm/yyyy','nls_calendar = "English Hijrah" ');
END f_conv;
--------------------------------

I call this function in a function SET_BLOCK_PROPERTY, where v_where_clause is VARCHAR2 (512).
--------------------------------
v_where_clause: = ' f_conv (sc_hijri_end_date) < = "' | to_char(:Control.txt_date) | '''';
SET_BLOCK_PROPERTY (block_id, DEFAULT_WHERE, v_where_clause);
GO_BLOCK ('test');
EXECUTE_QUERY;
--------------------------------
NOTE: I have no problem with that... I can retrieve record. But when I try to create a program of units (function) in the form.
There is no save retrieve. :(

This is the function I created in form. :
--------------------------------
FUNCTION f_con (p_hijri_date IN VARCHAR2) DATE of RETURN IS
date of T_DATE;
BEGIN
BEGIN
SELECT TO_DATE (p_hijri_date, ' DD/MM/YYYY','nls_calendar = "English Hijrah" ')
IN T_DATE
FROM DUAL;
END;
MESSAGE (to_char (V_DATE));
take a break;
RETURN T_DATE;
END;
--------------------------------

Yet once... by using this function, I call this function in a function SET_BLOCK_PROPERTY, where v_where_clause is VARCHAR2 (512).
--------------------------------
v_where_clause: = ' f_con (sc_hijri_end_date) < = "' | to_char(:Control.txt_date) | '''';
SET_BLOCK_PROPERTY (block_id, DEFAULT_WHERE, v_where_clause);
GO_BLOCK ('test');
EXECUTE_QUERY;

He has not recovered records. :(

Everything that you put in the where clause of a block is added to the sql issued forms to run the query. The sql code is sent to the database and there, running on the server. So, it's impossible to use a local sql function, as the database doesn't "know" this function.

Tags: Oracle Development

Similar Questions

  • I received this warning when I open a specific page on my Web site in Internet Explorer: MuseJSAssert: error calling the function switch: error: a security problem has occurred.

    Hello

    I discovered when I'm in Internet Explorer and go to the page "artists."

    and I click on a name, for example: "Abel team ELA / I ai Gomes

    I get this warning:

    MuseJSAssert: Error calling the function switch: error: a security problem has occurred.

    It is only in IE, not when I use Safari or Chrome

    This is the Web site link

    Any ideas how to solve this problem?

    There is an invalid hyperlink on the Abel Equipe ELA / I've got Gomes page on a piece of text which reads "with"your entry. You must find this text in the Muse, delete the hyperlink and enter a valid.

  • Iterator for the table and form is a problem during the cleaning of the records

    Hello

    I use JDev 12.1.2.

    I have an object of the detail view. I represent a part of its fields in a table and the rest in a form. I use the same iterator. Basically, I dragged and dropped the object even from the view of the data control and created a table and form layout with the fields I wanted in each provision. I put in place a clear feature for the rows in the table with a clear"" key. -on click I delete the line of the iterator in the managed bean. When I do this the selected record is deleted and the next record is displayed. But fields entered in the form layout also gets deleted. (the form should also be showing the record currently selected - it shows but entrable fields in the form are deleted because of claire that I did on the previous line.) If anyone can help get this resolved?

    Not use the same iterator for the tables and forms here? The links are in the row (row.bindings...) for the table, but for the form it is (links...). The Delete on the current row operation is causing the iterator delete all fields of links instead of from the line? Please shed some light.

    Thank you

    UMA

    How do you rank on the iterator compensation?

    use resetActionListener in your clear button and let us know what is happening?

    Ashish

  • Get this error on pages MuseJSAssert: error calling the function switch: TypeError: $(...). museMenu is not a function. Have read and did what I could find to solve problems.

    Hi I keep getting the error MuseJSAssert: error calling the function switch: TypeError: $(...). museMenu is not a function on my Web site which is not published, but I am downloading in British Colombia through muse.

    I'm on a PC.

    I tried export to HTML and still have the same problems locally.

    I saw that someone had a problem with mailchimp forms in one of a previous post. I removed the a widget of external source? for reservation and it was always happening.

    I created a new project like this and downloaded BC site all the files again to see if she could make a difference but still have the error.

    It's my URL BCdraft - home

    I tried to look at the site in the section "console" (where you can see the code of pages) to see if I could see the error that people had already advised but I get nothing... maybe not completely published because?

    I have reloaded the site through the muse in British Colombia with "all files" and is always the same.

    Here are some pictures that can help...

    Once on the home page, it may come with the error immediately or not... If you choose to say the title of the FAQ

    choose faq.png

    You must then (or choose other titles until it is) have this error coming...

    error.png

    Note that the title you have previously chosen as 'FAQ' now as 'price '.

    Changes to old title pricing.png

    This title is for some time and seems strange appears again.

    Here is a picture of scripts/css in the admin of BC as I've seen that this can be a problem but I don't know if this is normal or not and how to fix...

    cpanel.png

    I had taken a break from building the site for about a month and I had added on changes, but not them uploaded to the server just left saved on my PC.

    In the hope of an easy solution; p

    See you soon,.

    Steve.

    I published BC... what I wanted to say is that I did not live.

    Export HTML was to check if the error occurred in the HTML files locally.

    It ended up being a code of the external widget that was causing the problem. With him removed the pages work fine. (I had removed what I thought of them while troubleshooting, but I forgot to a separate embedded image)

    Specifically, it is because it was a pop-up overlay widget made for reservations. When I put it to then start a new page in the tab it works now. Seems that muse has changed to something allowing overlays?

    My thanks to Neha in support

  • Using the information in form field for e-mail address in the mailto function

    Hello

    I encountered a problem for which I seem not to be able to find an answer, even after several hours spent browsing the web:

    Basically, I have created a form that I want to distribute to my customers who are supposed to use for their clients. This is to ensure that all processes are standardized.

    My client fills part of the form with their contact information, including their contact email address in a separate field. The end-user (client my client) fills in the rest of the form. After completing the form, the end user is supposed to then click on a button that needs to send the entire pdf form by e-mail.

    I know how to set an email address recipient using the mailto: int; However, as I have many clients that the form will be distributed in the first place, I can't determine before the target of the mailto: command. So I was wondering if it is possible to set the target of the mailto: function to use the information that my client is entered in the contact email address field, so that, once this particular form field is filled, the e-mail address is imported into the functionality of the button and ensuring that the button send is very individualized.

    I would have thought that it is possible, as it is possible, for example, to use a part of the form to appear as the body of the text of an email, but since I was still very much a beginner/amateur regarding all things javascript/php, I've no idea what should look like the script.

    All thought and all help would be greatly appreciated.

    Greetings and thank you very much.

    Yes #3 is the right one.. .the email real option contains the property that has the e-mail address specified in it... then the false e-mail button to change this property before you send it. In your case instead of reference the DDlsi field, you must reference your field that contains the e-mail address.

    Make sense?

    If you're not used to the code, it can look daunting... . If you want to send your form to [email protected] I can code upwards for you so that you can see in your context.

    Paul

  • Problem with the extension of the functionality of Adobe Reader

    I created a set of subforms, each subform has a table with repetition of lines through the Instance Manager. Each of the four tables is defined to "repeat the line for each data element" with a minimum number of "1".
    Everythings seems to work perfectly, both seen in preview mode LiveCycle and Adobe Acrobat. Each of the four tables has a line showing through the minimum number of "1".


    The problem arises when I extend the functionality of Adobe Reader.

    When the form is opened in Adobe Acrobat or Reader, rather than each table with a single line, the Summit table on the page has now four rows one the remaining paintings, three have a line. I have experimented with him and if I add another subform with a table, extend the functionality and save it, the upermost table with now have five rows showing. The number of lines showing appears to increase a each added table.

    I have attached two examples of forms, a front extended to Adobe Reader features and one after.

    I am really confused as to why this problem appears after features are extended for Adobe Reader.

    If someone could help me with this, I would appreciate it.

    Thank you!

    OK I found what is causing the problem. You must have a unique name for your fields in each table. I think that when it will add a new Table he confuses this field with that of the first table. This is a modified form with unique names and is no longer the problem. I had to modify your script on the tables to use the names of the objects of law as well.

    You should not do (I think it is a bug), and you open a support incident.

    Paul

  • Can not use the hash within forms (tips) function

    Hello Guru,

    Oracle 10.2.0.4.0 on Linux ES4 with a forms 6i application.

    We have this simple hash function that I use as a program unit on a user form in forms 6i.
    It hashes passwords using this function;

    create or replace function md5 (value varchar) return varchar2 is
    v_input varchar2 (2000): = value;
    hexkey varchar2 (32): = null;
    Start
    hexkey: = rawtohex (dbms_obfuscation_toolkit.md5 (input = > utl_raw.cast_to_raw (v_input)));
    return of nvl (hexkey, '< null >');
    end;
    /

    I want to use it on a front Insert and before update trigger within forms. When I have the use of the md5 function code it gives me an error something on air of "cannot use this function in a sql statement" for example, that I expect to use it as follows:
    insert into users (username, password) values (: user.username, md5(:user.password));))
    and the same would go for the update.
    I know that I can pull this off the form code and create an insert or update trigger after and call that the md5 function here, but I like to keep the code of hash in the user form - I already have 4 triggers in database on the table and do not want to create more.

    Any advice would be great... :-)

    Just a small chance: try to call the function by using the names of block and item OTHER than: user, user name, and password.

    All or part of them are reserved words, and maybe that's the problem.

    If not, why not just call the function in the form to define a declared value of pl/sql, and then use this value in the insert and update statements.

  • Heating problems Strain Gage; Wait for the function measurement of delay

    Hello

    I am able (using four 350 ohm gauges) of the strain using a NI 9237 module with a cDAQ in connection Full deck Type 3. My test is to measure the strain over long periods of time (~ 10 days). The NI 9237 measure strain at a rate of 2000 Hz (this is the slowest rate). The wheatstone bridge is currently powerd with the NI 9237 of 2.5 V. When I get my data permanently, I see the strain increases with time (which it shouldn't do my test), and I suspect it's because of free heating strain gauges. So, to overcome this problem, I think using "Wait (ms)" and ask the program to obtain data once every 5 min. Five minutes should be more than enough to dissipate any overheating of the gauge.

    My question is: if I use the function 'wait (ms)', is my sensor (extensometer) are constantly under tension during the time-out of 5 minutes? I think that the functions "queue" are used inside a loop to allow a VI to sleep during the prescribed period (correct me if I'm wrong). So, it means that the sensor is not powered during this time?

    Thank you

    SID

    I wouldn't use "wait" function for your timing... software you can use the time elapsed or other timing functions

  • Kalonline-works until I get the anti-piracy icon so stop saying: there is a problem with the function of anti-hacking

    I play kalonline (RPG game), when to start the game it works up until I get the anti-piracy icon so stop saying: there is a problem with the function of anti-hacking. the program stops. I am the admin of it say kal computer run it in administrator mode and I did and I delete and reinstall the game. Solve the problem in win 7 by a right click and run as administrator, they wanted to work in win xp it all fits on how to solve this problem. These are the things, I was told to do to fix it.
    Hello

    It comes to KalOnline.

    Your error message can be corrected by following these steps:

    1. run KalOnline in Administrator Mode.

    2 uninstall KalOnline d_lete the entire Inixsoft folder, then reinstall the game.
    I did it and and it has not worked. then I was told that this was causing the problem

    Please check your computer system.

    This problem has occurred by a kind of problem of piracy.

    And if you have used a kind of memory-editing program, it could be happen too.

    So if your receipt similar to, then please remove it.
    I have none of these things on my computer. All I know is that people who have not updated windows xp can play the game and people who win 7 can play the game if they right click icon and run as administrator, that I still say side here but no way to prove it.

    Hello

    I suggest you to get in touch with the manufacturer of games and see if there are any other fix for this problem.

  • When starting my laptop, a warning poster says c:\program can affect the function of other applications, appointing him to c:\prgram1 will solve the problem

    Hello

    When starting my laptop (Windows vista), pop - up warning message indicating c:\program can affect the function of other applications, by naming to c:\prgram1 will solve the problem options: would you like it to remane, or ignore it.

    Can you help me

    Thank you

    Original title: Cprogram

    Hello

    Method 1:

     I recommend you put the computer to boot.

    How to troubleshoot a problem by performing a clean boot in Windows Vista or in Windows 7

    http://support.Microsoft.com/kb/929135

    Note: After troubleshooting, be sure to set the computer to start as usual as mentioned in step 7 in the above article.

    Method 2:

    You can also scan your computer the Microsoft Security Scanner, which would help us to get rid of viruses, spyware and other malicious software.

    The Microsoft Security Scanner is a downloadable security tool for free which allows analysis at the application and helps remove viruses, spyware and other malware. It works with your current antivirus software.

    http://www.Microsoft.com/security/scanner/en-us/default.aspx

    Note: The Microsoft Safety Scanner ends 10 days after being downloaded. To restart a scan with the latest definitions of anti-malware, download and run the Microsoft Safety Scanner again.

    Note: The data files that are infected must be cleaned only by removing the file completely, which means that there is a risk of data loss.

     

    Hope this information is useful.

  • Having the problem with the function on SG300 Dhcp / 500?

    Having the problem with the function on SG300 Dhcp / 500? now I can use the dhcp server on the two model, but have a problem.

    My problem is when I create

    VLAN 1: 192.168.0.1/24 dhcp pool 192.168.0.10 - 250

    VLAN 10: 192.168.10.10 - 250 192.168.10.1/24 dhcp pool

    case 1

    I plug the pc to vlan 1 can I get ip 192.168.0.11. But when I change this pc to a new port in vlan 2 I always get the same ip address. why I can not get IP of vlan2.

    case 1

    I plug the pc to vlan 2 I can get ip 192.168.10.11. But when I change this pc to a new port in the vlan 1 I always get the same ip address. why I can not get IP of vlan1.

    but when I have access to the switch and remove the link after that that i will get correct IP.

    I think this is the bug of this firmware. Could you help this case.

    This is a known bug that is the setting of Cisco

    Sent by Cisco Support technique iPad App

  • Problems to make the functional replacement MXPE

    Hello

    I'm not normally coming to the internet to complain, but I'm getting pretty fed up at the moment with my experience of repair.  I have the extended warranty on my MXPE coverage.

    A few weeks ago, I started to have problems with display corruption (which would even appear in the display of the bike).  I would like to restart the phone and it would go to come back a day or two later.  I finally decided that I was annoyed that I would contact the repair group.  This is my phone that I paid for the Advanced Exchange (and they took the hold on my CC).

    I quickly got my replacement unit with all the customizations (color, message back, or even welcomed).  I was a very happy camper until I realized that the backlog was not fixed properly.  It kept popping up on the lower right.  I called Motorola again and told them what is happening.  They climbed through groups appropriate and out a prescription for another Advanced Exchange.  Renounced the Advanced Exchange this time, they took my CC again for another take.

    A few days later the second replacement appears.  SAME PROBLEM!  Instead of at the bottom right, is low to the left, but the behavior is the same.  The rear is not set correctly.  I can shoot down and there for a few minutes, but just POP back up.

    Last Thursday, I called Motorola again and this time I got a message from the rep that they need to check with the Bank to stock images and they will get back to me on Friday.  Friday comes around, and I do not have a call, so I called them at the end of the day Friday.  They said that they always stock the warehouse and will get back to me.  I get an email on Sunday morning, my case is closed and call them.  I give the floor and the guy said that he cannot give me any new information because the warehouse is actually closed and I need to call back Monday.  I remember on Monday and the representative said they have found now a unit in the warehouse and will be available there for me, I should get information tomorrow on the follow-up.

    Well, it's the end of Tuesday and I have no information.  I've now invested several hours in these phone calls, between being jerky around, lied to the and hold.  All I want is a functional unit that is not falling apart.  Collage a back properly seems no brainer for me, but now I have so very little faith that the repair group will send me a functional unit that remains in one piece.  I sent in my original, but I have still two replacements in my possession.

    I really hope there's a motorcycle autour rep who can help me.  I got several friends, family and coworkers on the bike as the result of which had been so far very positive experiences with my MXPE.

    Unfortunately, this will be the last Moto phone for me and last that I would recommend to others from this experience so I can't get what seems like a trivial problem like this sorted.

    My (latest) incident number is 161103-003923 if it's useful.

    I can understand you superm1 and I am really sorry to hear that. Let me look at your problem and will get back to you.

    Sincerely,

    Joy

    Motorola support

  • When you modify a form in the DC or Pro Player I can enter text etc., save, close, and return later to change it. However, once I use the function "Fill &amp; Sign" and save the document, it locks the file and all other fields are not editable. Is there a

    Hi guys,.

    When you type information in a form in the DC or Pro Player I can enter text with fields of text etc and then save, close and return later to change the form. However once I use the function "Fill & Sign" to sign the document, and then save, it locks the file and all other fields become editable. Is there a way around this to remove this feature where it becomes locked and instead allows me to change the form after a signature is applied and saved. All the security properties of the form are on 'admitted', there is no restriction. Even though the document is locked all the properties remain still as 'authorized '.

    The signing is FINAL.  You cannot sign a PDF paper advance. Complete and save, do not sign.

  • When I use the function "cut", the line of results more sharpness compared to the original files. For example, {A: "file.psd"-&gt; cultures 4x6inch, 300 dpi-&gt; B: "cropped file.psd} then the results are as described as a first step. What s the problem.

    When I use the function "cut", the line of results more sharpness compared to the original files. For example, {A: "file.psd"-> cultures 4x6inch, 300 dpi-> B: "cropped file.psd} then the results are as described as a first step. What s the problem. (Photoshop CC, windows7)

    I'm a Retoucher of photpfile have used the CS2 version for many years, and fuction 'Harvest' is an important and frequent tree tools myself. The result of the broke lines drive me annoying cause my feeling touch Sofete are all blown away. Please help me.

    I think you're talking about using the crop tool? If you're cropping with a size and resolution that involves interpolation of the image, the crop tool will use your preference for the Interpolation of the Image. By default, bicubic is automatic, which can easily result in a sharp file. Change your preference (in general) to bicubic and you shouldn't see any sharpening.

    I hope it works for your situation.

  • Did someone having problems connecting to the functionality of adobe currently shipping?

    Did someone having problems connecting to the functionality of adobe currently shipping?

    Finally got the link: https://cloud.acrobat.com/send

Maybe you are looking for

  • iCloud pictures will not download

    On my mac, my photos from my iPhone say they are "Download" of the cloud, across the network (I have not plugged my phone) but they have been stuck on the same number for months, without change. How can I solve it so download it all my photos on my m

  • update of itune is down

    When I try to install a new version of iTunes on my PC. There is an error massage and the instalation is stopped I have 10 64-bit windows

  • Unable to connect to Windows Update

    My desktop shows bar there are updates that must be installed, but I can't click the updates icon to start and it will not refresh automatically. I tried to go to the Windows Update Web site, but the website gets an error that IE cannot connect on th

  • How to activate the CLI GUI

    We have ps6100E EqualLogic. Tried to set up the dedicated management network. Configure and activate 5 port ethernet to the management network. Management network connected to this port to network cable - worked. After that who has decided to return

  • BlackBerry smartphones HELP me please bbm and phone carriers

    What mobile operators should you get bbm on a plan to pay as you go (PAYG)?