Any help on this
Oracle Forms6iHai All
I have a table named as daily attend to and the fields are intimate DATE, Outime DATE of...
And I have created a form to update data if the outtime is missing or insert records if both respondent and outtime is missing
I created a button when the button is pressed my code is like this
If: Global.Mode = "QUERY" then
Update dail_att set = outtime: timeout where attend_date =: attend_date and empcode =: emplcode and outtime has the value null.
elsif: Global.Mode = "Add" then
insert into dail_att (attend_date, empcode, intimate, outtime) values (: attend_date,: emplcode,: timein,: timeout);
end if;
commit;
And my record is saved successfully while I update, but I had like this 01/May/2010/1645.
I was updating for the month of November, but got the wrong answer... and in the format of outtime mask I stated as hh24mi.
Pls tell me how to solve...
Thanks and greetings
Srikkanth.M
Edited by: Srikkanth.M May 3, 2010 12:01
Hi Srikkanth,
In your form to verify the data type for the field, it should be date time and I think you did it according to the above post.
Now the problem is that you just enter the intimate time outtime so taking the sysdate as part of the default day and time that you entered in the respondent or the fields outtime.
So when pressed to just release button to set date part, according to the needs of attend_date as follows before update:
:outtime := to_date (to_char (:attend_date, 'dd-mm-yyyy') || ' ' || to_char (:outtime, 'hh24:mi'), 'dd-mm-yyyy hh24:mi');
same as the value intimate as follows before you insert:
:intime := to_date (to_char (:attend_date, 'dd-mm-yyyy') || ' ' || to_char (:intime, 'hh24:mi'), 'dd-mm-yyyy hh24:mi');
I hope this helps.
Best regards
Arif Khadas
Tags: Oracle Development
Similar Questions
-
Hello
What is the best way to retrieve deleted mp3 files? I had a lapse of attention and I deleted a folder containing most of my music files. It is for the most part, the mp3 but there was regular audio files and some wav files in there also. I am running OSX Leopard 10.5.8 on a PowerPC G5 tower. I have another PPC machine to help the recovery, if I need, but at the moment, he is not appearing on my network (3 computers). I'm trying to change this soon. I'll be really grateful for any help in this matter.
Thanks to Chris
If you emptied the Recycle Bin after you move the folder to the trash, and you don't have a time Machine or another backup, then it is lost, sorry.
-
I have loaded the CD of music on itunes have some of the "grayed out" album titles, and only the album in 'bold' beaches are synced to my iphone 5. Any help in this appreciated.
Thank you
Dr.
Only the sight of songs using the drop-down list located at the top right of the playlist. CTRL + click all empty the box to check, or ctrl-click on a square filled twice. This will ensure that all tracks are checked and enabled for synchronization or shuffle playback.
TT2
-
I can't install the update of Windows KB951847x86. Any help on this? Thanks... tagtopkid
ragtopkid,
Take a look at this article as it addresses the issue.
Mike - Engineer Support Microsoft Answers
Visit our Microsoft answers feedback Forum and let us know what you think. -
Why isn't there any help from this pile of garbage they don't really a?
Why isn't there any help from this pile of garbage they don't really a? ????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????????
I'm not sure that they have a web presence or are accessible by modern tools of communication such as cell phones. You may have to go there yourself, explain your situation and ask for advice. However, I suspect those of Delphi, Greese may not appreciate mount Parnassus, being called a "bunch of garbage." Nevertheless, I think it might be useful to ask the help of the oracle of Delphi, despite this potential problem.
Now remove language cheek to say,
Good luck.
Tom Ferguson
-
Sometimes, when I try to type on a new layer of text, the cursor insists on going to a previous text layer. Any advice?
Any help to this phenomenon will be appreciated.
This is something that has affected the PS CC 2014 (I only trnsferred to CC 2015 today)
If you click the text tool in the area of text to another layer, the layer text will be often selected. You need to lock or disable the visibility of the layer when you work with layers of text that are close together.
-
I tried to change my privacy settings for history to remember the history of custom settings and he returned always to remember history. I tried all the fixes including refreshing Firefox, by removing the prefs.js file, check my Norton Security Suite to be sure that Firefox Cleanup is disabled, synchronization is turned off and all the other recommendations I can find with an online search of the problem. Another that a deletion total Firefox and fresh installation is there any other recommendation that I can try allowing the change in my setting of the story.
The reason why I ask is recently that my browser does not store cookies permanently. When I try to enter a password sites (my Bank for example), I have to answer a question before you enter my password. I have to do this every day. Previously, I was able to save the computer and should not be the question that arises, unless I have cleared my cache, history and cookies. However, it seems that cookies seem to disappear when I close the computer power off or after an unknown period of time and I have to go through the procedure to properly identify myself and my computer on the site. This is a private computer with no access by someone else and it became cumbersome to re-enter the requested information whenever I go to some of my usual sites.
I use Windows 7 Ultimate with 37.0.1 Firefox as my browser. Any help is greatly appreciated.The problem only occurs when you restart Windows and not between the closing and startup of Firefox without having to restart Windows?
Outside Norton, do you have any other utility that can 'clean up' browser like CCleaner settings?
-
I get a phone call from 'Microsoft': ask him for me to log on to the computer to check security, up to now, I refused, because I don't think, any help to what will be, it is a legitimate call?
N ° it is a scam.
http://www.Microsoft.com/en-GB/security/online-privacy/msName.aspx
For more information read:
http://ISC.sans.edu/diary/Microsoft+support+scam+again+/10912
http://www.guardian.co.UK/technology/2011/Sep/22/Microsoft-drops-partner-accused-scam
http://www.YouTube.com/watch?v=FJajKg8rk0o&feature=related&NoRedirect=1
-
Under Tools settings, remember passwords, there exception to remember do not sign of netflix in, but every time I come back, even if I closed and reopened firefox, it connects me always. I unchecked remember passwords nothing helps. However, netflix seems to be the site only problem for this.
Running windows 7, 64 b, firefox 4.01What you did to close all tabs with the Netflix site on it if before closing Firefox?
Otherwise restore session puts the cookies and they are still there since the previous session.
You should also let the cookies expire when Firefox is closed.Saved passwords are important if there is a password on the page form and that the form is filled automatically or after typing the first letters of the name.
-
com surrogate continues to stop any help in this
surrogate com keeps cutting help
Hello
see if this information helps you
-
When I click on "Check to see if your plugins are up to date" in the Add-ons Manager it sends me to a 404 page on the website of Mozilla student Reps. It is a wide spread question? Any solution?
easy solution; Enter about: config in the address bar
fiind plugins.update.url
Change the value by: https://www.mozilla.org/en-US/plugincheck/
-
DAQ 6008 cannot be seen on a mac "says invalid firmware. any help on this
I'm trying to get my macbook pro to see DAQ6008 of data acquisition, I get invalid firmware error any version OR-DAQmx version I use
I managed to do the work.
-
I bought an upgrade from windows vista to windows 7 two days ago and I can download on my laptop... even if my laptop has passed the test. But I can't get hold of someone at microsoft for a refund. I could take care of her through my credit card company, but it sours my experience of buying anything through this company! This should be a reputable company. Am I missing something?
Try the numbers here if you are in the United States
http://www.microsoftstore.com/store/msstore/HTML/pbPage.Help_Return_Exchange
If you are elsewhere, change the country on the top right, you should get the coordinates.
For example, https://emea.microsoftstore.com/UK/en-GB/Contact-Us
-
Any help with this question Live mail 2012
I have to admit being stuck on it - this is the problem
I have all the e-mail accounts configured to keep messages on the server. I have download ok then read messages and delete everything that I'm not completely. Then, I find that I really would not have deleted some messages. I can tell WLM to re-download from the server, but they do not display. They are on the server that I can see with webmail and other computers.
It's as if WLM remembered that he had downloaded the message once and so disobeys again.
Not important, but of interest to me - clues
See you soon
Peter
The only way to recover these messages is to go to your webmail Inbox and send them to yourself.
It is not a good practice to let mail accumulate in your webmail box. If you ever reinstall WLM/or your system, you will have all the 22000 (or whatever the number) downloaded.
I advise my clients to save things for a long time, then delete or move to the specific folder, but have remove it from the server downloaded e-mail after 30 days.
-
Need complex! Any help on this!
Hi all
BANNER
Oracle9i Enterprise Edition Release 9.2.0.5.0 - Production
PL/SQL Release 9.2.0.5.0 - Production
CORE 9.2.0.6.0 Production
AMT for 32-bit Windows: Version 9.2.0.5.0 - Production
NLSRTL Version 9.2.0.5.0 - Production
I have a Table with the values that
If Inc is less than or equal to Sal - insert in a Temp - record 1 (as is the case)Emp Sal Inc 100 1000 100 100 1000 900 100 1000 100 200 500 500 300 200 100
If Inc. (sum Record1 and Record2) (900 + 100 = 1000) because the values is equal to Sal - Insert in a Temp Table - Sheet 2 (as is the case)
If Inc. (sum Record1 and Record2) (100 + 900 + 100 = 1100) since the values of sum of Inc. (1100) > 1000 - insert in a table the difference-100 Temp1 - folder 3
I took an Ex on the Internet and started to... If should I use the slider, loop? Not sure
Since I haven't used stmt loop...
Can anyone guide or give some input on this... for me to start developing my own development...DECLARE i NUMBER := 1; BEGIN LOOP INSERT INTO T1 VALUES(i,i); i := i+1; EXIT WHEN i>100; END LOOP; END;
Thank you
Ananda
Published by: Ananda on April 8, 2010 21:11
Published by: Ananda on April 8, 2010 21:30
Published by: Ananda on April 9, 2010 02:32
Published by: Ananda on April 9, 2010 03:23
Published by: Ananda on April 9, 2010 12:00Hello
Something like that. Can be.
I got an id column to have a particular order, as everyone has been mentioned.create table te_emp as select 100 emp, 1000 sal, 100 inc,1 id from dual union all select 100, 1000, 900,2 from dual union all select 100, 1000, 100,3 from dual union all select 200, 500, 500,1 from dual union all select 300, 200, 100,1 from dual; create table temp as select * from te_emp where 1=2; create table temp1 as select * from te_emp where 1=2; insert into temp select emp, sal, inc, id from (select emp, sal, inc, id, case when inc < sal then 1 end temp_insert1, case when sum(inc) over(partition by emp order by id) < sal then 1 end temp_insert2, case when sum(inc) over(partition by emp order by id) > sal then 2 end temp1_insert, sum(inc) over(partition by emp order by id) su from te_emp) where temp1_insert is null and (temp_insert1 = 1 or temp_insert2 = 1) insert into temp1 select emp, sal, inc, id from (select emp, sal, inc, id, case when inc < sal then 1 end temp_insert1, case when sum(inc) over(partition by emp order by id) < sal then 1 end temp_insert2, case when sum(inc) over(partition by emp order by id) > sal then 2 end temp1_insert, sum(inc) over(partition by emp order by id) su from te_emp) where temp1_insert is not null
See you soon!
Bobin
Maybe you are looking for
-
XUL Runner - firefox won't load-do I lose all my favorites?
after updateerror-platform version 23.0.1 is not compatible with "miniVersion > = maxVersion < = 23.0"don't try to load FirefoxDownload the new message above
-
I can't download files from the internet using firefox
If I try to download a file from the internet, it's going fine until 99%. After that, it does not...
-
HP Pavilion A6433W is blue screening?
need help
-
Update of RAM and processor? HP Pavilion dv7 FP873EA - Vista 32-bit
Hey there, Is it possible that I could upgrade this laptop, it's a good old classic, but I don't want to buy a new one thinking yet, if may be upgraded, unless it will cost more than a new If there is anyway to upgrade of RAM and the processor for th
-
Hello I have the same application for mobile phones that is based on Java, Java for Android and Qt C++ (no QML) and I wonder what is the best to this port for blackberry with the OTA installation feature phones. What are the pros and cons, please?