View responses
Hello
I've posted a number of answers to the questions, but they disappeared in the air.
On the FAQ page, it says I should click on the Preview button - I didn't click only one button to comment. I managed to get feedback from moderators rejecting a comment and accept another, but for the most part, I get nothing, is it something I am doing wrong?
Hello
Thank you I think I got it - there is a bug in the forum software. :-).
I am mode Communications--> click on title of discussion, a panel discussion opens. Clicking on answer, typing in a comment and clicking on comment does absolutely nothing!
If I then click on the title yet, I am able to add comments.
Tags: Oracle
Similar Questions
-
Distributed form stopped collecting responses
I created a form using Acrobat X command and distributed via Acrobat.com to collect answers on our local server. The process was working well for the past two months, but suddenly it stopped working this week. I can see the tracker that are yet to come in the responses, but when we select "view responses", the answer is that there is no update.
Another problem is that the response file have strongly increased in size even if collect responses are recorded and archived every day. It has become very large.
When the original was created, it has been recorded as an Reader Extended PDF - enable additional features. Is it possible that this is the origin of the problem?
Can someone help me with this?
Thank you
Try this fix:
1. Close all versions of Acrobat/Reader running 2. Using the Task Manager to kill AdobeCollabSync.exe 3. Move the folder Synchronizer go to C:\Documents and Settings\sandeepverma\Application Data\Adobe\Acrobat\10.0 on your desktop 4. Reopen your Acrobat form for follow-up, you will notice that the answers to the form are available On Vista and Windows 7: find the folder in C:\Users\
\AppData\LocalLow\Adobe\Acrobat\10.0 Synchronizer Replace SandeepVerma with your user name.
Reopen the file _Response and try. He begins to receive answers.
Please let me know for any confusion
There was an update to Acrobat.com server and this will create the file updated on the machine. Thank you for your patience guys... Njoy use...!
~SaVe
-
I posted a thread in the forum sql a few days ago, but it is so many threads were posted since my last post, it's difficult for me to find the thread and view responses quickly. Is there a way I could show only threads that have been posted by me.
It is not relevant, but since he has been annoys me, I thought it would be nice to ask the question.
Anyone have the answer?Simply click on your own name, and you will have your messages.
-----
Sybrand Bakker
Senior Oracle DBA -
Find the right driver for broadcom wifi adapter in win 8.1
Acer V5 573 anyone know the correct driver for an adapter Broadcom 802.11n wifi win 8.1. Driver in use is 6.30.223.170, but has limited connectivity with my dlink router.
This solution worked for me. Finally!
solution sugested by DrKnasDrKnas
DrKnas
Visitor
Re: 8.1 Windows broadcom wireless drivers
September
I have an Aspire E1-571 with Broadcom wifi with the same connectivity problem. I solved this by changing in the "coexistence of 20/40" and "WWW" driver settings to disable all other automatic or default settings. Thanks ACER supports no help.
Message 8 of 9 (936 views)
Response
Kudos 0 -
Dan / Tim
Seem to have a problem that arose yesterday and today.
I just posted a reply in the thread on the indices in this forum and the answer had to start a 2nd page. The problem is that I do not see the answer on the 2nd page, I just get a blank page.
Yesterday, I participated in a thread with Mike-
on this topic too, I posted a reply which was to return at the beginning of the 2nd page. Mike then responded. I can see Mike's response on the 2nd page, but I still don't see my only.
In a more general way, the display of the 2nd page last week changed for me. When I go on it, the first half of the page is just blank and then I can view responses.
Any ideas?
Jon
Under the «account "drop-down list, you will see a link to"preferences".» Change the setting from flat to threaded.
Dan
-
Problem with my Lenovo Ideapad Flex 15 touchscreen driver
Nice day!
I'm having a problem with my Flex 15 touchscreen. I can't use the touch more. I tried to check the Device Manager, but found no driver installed touchscreen. I had this problem when I have not used/turned on my laptop for almost weeks of towing. I've already tried some I read on the forums, but the results were the same. I still can't use my touch screen properties. What should I do? Thank you for your response. My laptop was running windows 8.
Hello Ronald.
Thanks for posting your query in Microsoft Community.
I imagine the inconvenience that you are experiencing and will certainly help you in the right direction to solve the problem. However, I would be grateful if you could answer a few questions to refine the question in order to provide you with better assistance.
- The issue has started happening recently?
- You did it any significant hardware or change software on the computer before this problem?
This problem occurs when there is that no updated drivers are there for the material. As you have tried most troubleshooting including reset, I suggest you try to install the updated for touchscreen drivers and chipset drivers and check if it helps.
Method 1:
Uninstall and reinstall the driver for Interface devices and check the issue.
Follow the steps below to uninstall the drivers.
- Press the Windows key + X , and then select Device Manager.
- You can search for Devices of Interface and expand it.
- Right-click on the Devices of Interface and select Uninstall.
- Restart your computer. Windows will install the generic drives after reboot.
Look for the question, if it persists the passage to the next method.
Method 2:
Uninstall and reinstall the chipset drivers and display drivers.
Follow the steps in method 1 to uninstall display drivers and chipset drivers but it does not restart, you need to download the driver from the link below.
Drivers and software - Flex laptop computer 15 (IdeaPad)
In addition, you can also view responses 'marked' in the following thread:
Touch screen not working not not - Windows 8 - Lenovo Flex 15
Hope this information is useful. Let us know if you need more help, we will be happy to help you.
-
on this forum, how do you get published earlier issues? This shows only recent messages from a few minutes to Twitter.com. I had posted a question yesterday and can't find it to view responses by others.
Top right, go to more in the flow of connection.
-
Can I add a formula and automatic calculations in a form?
We would like to put the calculations of formulas och autoomatic in our forms, is - it possible?
Hello
Sorry, automatic calculation is not supported on a form of FormsCentral for the creation of the form (i.e. When you create the form in the Design tab).
However, you can add the formula in the table view responses for responses you collect, or PDF form generated by editing via Adobe Acrobat.
Please write back if you have any other questions,
Thank you
Lucia
-
Hi all
, We are working on a new layout of the site, and we decided to try "bootstrap" 3. I'm having a problem with a div element that is not displayed on an ipad in landscape orientation. The div in question is given to a class of hidden xs and hidden-sm. What I see in the "bootstrap" documentation this div should display on the ipad in landscape orientation, as this width must be 1024. In addition, when you use the tool of Firefox "view responsive Layouts" seems to be indeed correct in simulation ipad window. It's just on the real device that there is a problem. This is the site in question: http://c2-it.com/clients/atlantic-home/ . The problem is the picture of the building. You will see that on the ipad shows this div.
Does anyone have an idea what could be wrong here?Thank you
CJToo bad! I found the problem. In the viewport meta tag, I didn't 'initial scale = 1'. Adding that the problem is resolved. I'll leave this thread here in the hope that it helps someone in the future.
-
Change the default value for AGGMISSG
Hello
Is it possible to set the default for AGGMISSG is turned on?
Kind regards
SunilIt is certainly possible. You can do this by checking "aggrigate missing values" on the tab "general" database properties.
I would be very careful with these settings, especially with versions of target. It is always safer to add these parameters to the calc scripts using the SET commands.
I did this couple of times... view responses with see John's response :)
Good luck
-
Error installing support OLL packaged Application objects
Hello
I am installing OLL packaged Application | http://www.Oracle.com/WebFolder/technetwork/tutorials/OBE/DB/Apex/R41/inst_pkgapp/inst_pkgapp.htm#top
but during the installation of supported objects, I got error when executing code in 'create_package_body '.
Error on line 274: PLS-00201: identifier 'UTL_TCP' must be declared
Error on line 274: PLS-00201: identifier 'UTL_TCP' must be declaredcreate or replace package body eba_oll_log as g_start_time number; procedure log_init is begin g_start_time := dbms_utility.get_time; end log_init; procedure log_page_view is begin insert into eba_oll_page_views ( APEX_USER, PAGE_ID, PAGE_NAME, VIEW_DATE, TS, ELAPSED_TIME, IP_ADDRESS, AGENT, APEX_SESSION_ID, CONTENT_ID, CONTENT_TITLE ) values ( v('APP_USER'), v('APP_PAGE_ID'), wwv_flow.g_step_title, trunc(sysdate,'DD'), systimestamp, (dbms_utility.get_time-g_start_time)*(.01), owa_util.get_cgi_env('REMOTE_ADDR'), owa_util.get_cgi_env('HTTP_USER_AGENT'), v('APP_SESSION'), case when v('APP_PAGE_ID') = 24 then v('P24_CONTENT_ID') else null end, case when v('APP_PAGE_ID') = 24 then v('P24_CONTENT_TITLE') else null end ); if v('APP_PAGE_ID') = 24 then insert into eba_oll_content_views ( APEX_USER, VIEW_DATE, TS, IP_ADDRESS, AGENT, APEX_SESSION_ID, CONTENT_ID, CONTENT_TITLE, NOTE ) values ( v('APP_USER'), trunc(sysdate,'DD'), systimestamp, owa_util.get_cgi_env('REMOTE_ADDR'), owa_util.get_cgi_env('HTTP_USER_AGENT'), v('APP_SESSION'), v('P24_CONTENT_ID'), v('P24_CONTENT_TITLE'), 'Viewed' ); end if; commit; end log_page_view; procedure log_content_click is begin insert into eba_oll_content_views ( APEX_USER, VIEW_DATE, TS, IP_ADDRESS, AGENT, APEX_SESSION_ID, CONTENT_ID, CONTENT_TITLE, NOTE ) values ( v('APP_USER'), trunc(sysdate,'DD'), systimestamp, owa_util.get_cgi_env('REMOTE_ADDR'), owa_util.get_cgi_env('HTTP_USER_AGENT'), v('APP_SESSION'), v('P24_CONTENT_ID'), v('P24_CONTENT_TITLE'), 'Launched' ); commit; end log_content_click; end eba_oll_log; / create or replace package body eba_oll_api as function gen_id return number is l_id number; begin select to_number(sys_guid(), 'XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX') into l_id from dual; return l_id; end gen_id; function eba_oll_tags_cleaner ( p_tags in varchar2, p_case in varchar2 default 'U' ) return varchar2 is type tags is table of varchar2(255) index by varchar2(255); l_tags_a tags; l_tag varchar2(255); l_tags apex_application_global.vc_arr2; l_tags_string varchar2(32767); i integer; begin l_tags := apex_util.string_to_table(p_tags,','); for i in 1..l_tags.count loop --remove all whitespace, including tabs, spaces, line feeds and carraige returns with a single space l_tag := substr(trim(regexp_replace(l_tags(i),'[[:space:]]{1,}',' ')),1,255); if l_tag is not null and l_tag != ' ' then if p_case = 'U' then l_tag := upper(l_tag); elsif p_case = 'L' then l_tag := lower(l_tag); end if; --add it to the associative array, if it is a duplicate, it will just be replaced l_tags_a(l_tag) := l_tag; end if; end loop; l_tag := null; l_tag := l_tags_a.first; while l_tag is not null loop l_tags_string := l_tags_string||l_tag; if l_tag != l_tags_a.last then l_tags_string := l_tags_string||', '; end if; l_tag := l_tags_a.next(l_tag); end loop; return substr(l_tags_string,1,4000); end eba_oll_tags_cleaner; procedure eba_oll_tag_sync ( p_new_tags in varchar2, p_old_tags in varchar2, p_content_type in varchar2, p_content_id in number ) as type tags is table of varchar2(255) index by varchar2(255); l_new_tags_a tags; l_old_tags_a tags; l_new_tags apex_application_global.vc_arr2; l_old_tags apex_application_global.vc_arr2; l_merge_tags apex_application_global.vc_arr2; l_dummy_tag varchar2(255); i integer; begin l_old_tags := apex_util.string_to_table(p_old_tags,', '); l_new_tags := apex_util.string_to_table(p_new_tags,', '); if l_old_tags.count > 0 then --do inserts and deletes --build the associative arrays for i in 1..l_old_tags.count loop l_old_tags_a(l_old_tags(i)) := l_old_tags(i); end loop; for i in 1..l_new_tags.count loop l_new_tags_a(l_new_tags(i)) := l_new_tags(i); end loop; --do the inserts for i in 1..l_new_tags.count loop begin l_dummy_tag := l_old_tags_a(l_new_tags(i)); exception when no_data_found then insert into eba_oll_tags (tag, content_id, content_type ) values (l_new_tags(i), p_content_id, p_content_type ); l_merge_tags(l_merge_tags.count + 1) := l_new_tags(i); end; end loop; --do the deletes for i in 1..l_old_tags.count loop begin l_dummy_tag := l_new_tags_a(l_old_tags(i)); exception when no_data_found then delete from eba_oll_tags where content_id = p_content_id and tag = l_old_tags(i); l_merge_tags(l_merge_tags.count + 1) := l_old_tags(i); end; end loop; else --just do inserts for i in 1..l_new_tags.count loop insert into eba_oll_tags (tag, content_id, content_type ) values (l_new_tags(i), p_content_id, p_content_type ); l_merge_tags(l_merge_tags.count + 1) := l_new_tags(i); end loop; end if; for i in 1..l_merge_tags.count loop merge into eba_oll_tags_type_sum s using (select count(*) tag_count from eba_oll_tags where tag = l_merge_tags(i) and content_type = p_content_type ) t on (s.tag = l_merge_tags(i) and s.content_type = p_content_type ) when not matched then insert (tag, content_type, tag_count) values (l_merge_tags(i), p_content_type, t.tag_count) when matched then update set s.tag_count = t.tag_count; merge into eba_oll_tags_sum s using (select sum(tag_count) tag_count from eba_oll_tags_type_sum where tag = l_merge_tags(i) ) t on (s.tag = l_merge_tags(i) ) when not matched then insert (tag, tag_count) values (l_merge_tags(i), t.tag_count) when matched then update set s.tag_count = t.tag_count; end loop; end eba_oll_tag_sync; procedure render_tag_cloud ( p_selection in varchar2 default null, p_app_id in number, p_session_id in number, p_min_nbr_tags in number default 1, p_max in number default 100, p_limit in number default 10000, p_link_to_page in varchar2 default '2', p_tag_item_filter in varchar2 default 'P2_TAGS', p_clear_cache in varchar2 default '2,CIR,RIR', p_more_page in varchar2 default '62' ) as l_printed_records number := 0; l_available_records number := 20; l_max number; l_min number; l_class_size number; l_class varchar2(30); type l_tagtype is table of varchar2(2000); l_tags l_tagtype; type l_numtype is table of number; l_cnts l_numtype; l_size number; l_total number :=0; l_buffer varchar2(32676); CURSOR c_all_tags IS select tag, c from ( select t.tag, count(*) c from eba_oll_content c, eba_oll_tags t where c.content_id = t.content_id and c.display_yn = 'Y' and (p_selection is null or (p_selection is not null and ( (substr(p_selection,1,1) = 'R' and substr(p_selection,2) in (select release_id from eba_oll_content_products cp where cp.content_id = c.content_id)) or (substr(p_selection,1,1) = 'C' and substr(p_selection,2) in (select product_id from eba_oll_content_products cp where cp.content_id = c.content_id)) or (substr(p_selection,1,1) = 'P' and (substr(p_selection,2) in (select product_id from eba_oll_content_products cp where cp.content_id = c.content_id) or substr(p_selection,2) in (select p.parent_product_id from eba_oll_content_products cp, eba_oll_products p where cp.content_id = c.content_id and cp.product_id = p.product_id))) or (substr(p_selection,1,1) = 'G' and (substr(p_selection,2) in (select pg.group_id from eba_oll_product_groupings pg, eba_oll_content_products cp where pg.product_id = cp.product_id and cp.content_id = c.content_id) or substr(p_selection,2) in (select pg.group_id from eba_oll_product_groupings pg, eba_oll_products p, eba_oll_content_products cp where pg.product_id = p.parent_product_id and p.product_id = cp.product_id and cp.content_id = c.content_id))) ))) group by tag ) x where rownum < p_limit and c >= p_min_nbr_tags order by upper(tag) ; begin ------------------------- -- Fetch tags into arrays -- open c_all_tags; loop fetch c_all_tags bulk collect into l_tags,l_cnts limit p_limit; exit; end loop; close c_all_tags; l_available_records := l_tags.count; ----------------------------------------------- -- Determine total count and maximum tag counts -- l_max := 0; l_min := 1000; FOR i in l_cnts.first..l_cnts.last loop l_total := l_total + l_cnts(i); if l_cnts(i) > l_max then l_max := l_cnts(i); end if; if l_cnts(i) < l_min then l_min := l_cnts(i); end if; end loop; if l_max = 0 then l_max := 1; end if; l_class_size := round((l_max-l_min)/6); ------------------------ -- Generate tag cloud -- -- sys.htp.prn('<div class="tagCloud"><ul>'); for i in l_tags.first..l_tags.last loop l_printed_records := l_printed_records + 1; if l_cnts(i) < l_min + l_class_size then l_class := 'size1'; elsif l_cnts(i) < l_min + (l_class_size*2) then l_class := 'size2'; elsif l_cnts(i) < l_min + (l_class_size*3) then l_class := 'size3'; elsif l_cnts(i) < l_min + (l_class_size*4) then l_class := 'size4'; elsif l_cnts(i) < l_min + (l_class_size*5) then l_class := 'size5'; else l_class := 'size6'; end if; l_buffer := '<li><a class="'||l_class||'" href="'|| 'f?p='||p_app_id||':'||p_link_to_page||':'||p_session_id||':::'||p_clear_cache||':'|| p_tag_item_filter||':'||htf.escape_sc(l_tags(i))||'">'|| htf.escape_sc(l_tags(i)) || '<span>' || l_cnts(i) || '</span></a></li>'; sys.htp.prn(l_buffer); l_buffer := ''; if l_printed_records > p_max then exit; end if; end loop; sys.htp.prn('</ul></div>'); -- print if there's more if l_tags.count - l_printed_records != 0 then htp.prn('<p><a href="f?p='||p_app_id||':'||htf.escape_sc(p_more_page)|| ':'||p_session_id||':::'||htf.escape_sc(p_more_page)||'">View all tags</a></p>'); end if; exception when others then sys.htp.prn('<p>No tags found.</p>'); end render_tag_cloud; procedure email_when_feedback ( p_feedback_id in number, p_host_url in varchar2, p_app_id in number ) is l_body clob; l_body_html clob; begin for c1 in ( select f.feedback_comment, f.feedback_by, c.title, nvl(ct.feedback_contacts,'[email protected]') email from eba_oll_content_feedback f, eba_oll_content c, eba_oll_team ct where f.id = p_feedback_id and f.content_id = c.content_id and c.team_id = ct.team_id (+) ) loop l_body := 'You have received feedback for a piece of content you own in the Oracle Learning Library (OLL) Application. Content: '|| c1.title || utl_tcp.crlf || ' Feedback: '|| c1.feedback_comment || utl_tcp.crlf || ' Left by: '|| lower(c1.feedback_by) ||' You can respond via the OLL Application, '||p_host_url||'f?p='||p_app_id||':47:::NO::P47_ID:' || p_feedback_id || '.'; l_body_html := '<div style="border: 1px solid #DDD; background-color: #F8F8F8; width: 460px; margin: 0 auto; -moz-border-radius: 10px; -webkit-border-radius: 10px; padding: 20px;"> <p style="font: bold 12px/16px Arial, sans-serif; margin: 0 0 10px 0; padding: 0;"> You have received feedback for a piece of content you own in the Oracle Learning Library (OLL) Application. </p> <table style="width: 100%;" cellspacing="0" cellpadding="0" border="0"> <tr>' || utl_tcp.crlf || ' <td style="font: bold 12px/16px Arial, sans-serif; color: #666; padding: 0 10px 10px 0; vertical-align: top;">Content</td> <td style="font: normal 12px/16px Arial, sans-serif; padding: 0 10px 10px 0; vertical-align: top;"><a href="#" style="color: #000">'||c1.title||'</a></td> </tr> <tr>' || utl_tcp.crlf || ' <td style="font: bold 12px/16px Arial, sans-serif; color: #666; padding: 0 10px 10px 0; vertical-align: top;">Feedback</td> <td style="font: normal 12px/16px Arial, sans-serif; padding: 0 10px 10px 0; vertical-align: top;">'||replace(c1.feedback_comment,CHR(10),'<br/>')||'</td> </tr> <tr>' || utl_tcp.crlf || ' <td style="font: bold 12px/16px Arial, sans-serif; color: #666; padding: 0 10px 10px 0; vertical-align: top;">Left by</td> <td style="font: bold 12px/16px Arial, sans-serif; padding: 0 10px 10px 0; vertical-align: top;">'||lower(c1.feedback_by)||'</td> </tr> <tr>' || utl_tcp.crlf || ' <td colspan="2" style="text-align: center; font: normal 12px/16px Arial, sans-serif; padding: 0 10px 10px 0; vertical-align: top;"> <a href="'||p_host_url||'f?p='||p_app_id||':47:::NO::P47_ID:' || p_feedback_id ||'" style="display: block; padding: 10px; background-color: #EEE; font: bold 16px/16px Arial, sans-serif; color: #444">Respond to this Feedback</a> </td> </tr> </table> </div>'; apex_mail.send ( p_to => c1.email, p_from => '[email protected]', p_subj => 'OLL - New Feedback for your team', p_body => l_body, p_body_html => l_body_html ); end loop; end email_when_feedback; procedure email_when_response ( p_feedback_id in number, p_host_url in varchar2, p_app_id in number ) is l_body clob; l_body_html clob; begin for c1 in ( select f.feedback_comment, f.feedback_by, f.response, c.title from eba_oll_content_feedback f, eba_oll_content c where f.id = p_feedback_id and f.content_id = c.content_id ) loop l_body := 'You have received a response to your feedback left in the Oracle Learning Library (OLL) Application. Content: '|| c1.title || ' Feedback: '|| c1.feedback_comment || ' Response: '|| c1.response || ' You can also view this response via the OLL Application, '||p_host_url||'f?p='||p_app_id||':60:::NO::IR_ID:' || p_feedback_id || '.'; l_body_html := '<div style="border: 1px solid #DDD; background-color: #F8F8F8; width: 460px; margin: 0 auto; -moz-border-radius: 10px; -webkit-border-radius: 10px; padding: 20px;"> <p style="font: bold 12px/16px Arial, sans-serif; margin: 0 0 10px 0; padding: 0;"> You have received a response to your feedback left in the Oracle Learning Library (OLL) Application. </p> <table style="width: 100%;" cellspacing="0" cellpadding="0" border="0"> <tr>' || utl_tcp.crlf || ' <td style="font: bold 12px/16px Arial, sans-serif; color: #666; padding: 0 10px 10px 0; vertical-align: top;">Content</td> <td style="font: normal 12px/16px Arial, sans-serif; padding: 0 10px 10px 0; vertical-align: top;"><a href="#" style="color: #000">'||c1.title||'</a></td> </tr> <tr>' || utl_tcp.crlf || ' <td style="font: bold 12px/16px Arial, sans-serif; color: #666; padding: 0 10px 10px 0; vertical-align: top;">Feedback</td> <td style="font: normal 12px/16px Arial, sans-serif; padding: 0 10px 10px 0; vertical-align: top;">'||replace(c1.feedback_comment,CHR(10),'<br/>')||'</td> </tr> <tr>' || utl_tcp.crlf || ' <td style="font: bold 12px/16px Arial, sans-serif; color: #666; padding: 0 10px 10px 0; vertical-align: top;">Response</td> <td style="font: bold 12px/16px Arial, sans-serif; padding: 0 10px 10px 0; vertical-align: top;">'||replace(c1.response,CHR(10),'<br/>')||'</td> </tr> <tr>' || utl_tcp.crlf || ' <td colspan="2" style="text-align: center; font: normal 12px/16px Arial, sans-serif; padding: 0 10px 10px 0; vertical-align: top;"> <a href="'||p_host_url||'f?p='||p_app_id||':60:::NO::IR_ID:' || p_feedback_id ||'" style="display: block; padding: 10px; background-color: #EEE; font: bold 16px/16px Arial, sans-serif; color: #444">View Response in OLL Application</a> </td> </tr> </table> </div>'; apex_mail.send ( p_to => c1.feedback_by, p_from => '[email protected]', p_subj => 'Oracle Learning Library - Response to your Feedback', p_body => l_body, p_body_html => l_body_html ); end loop; end email_when_response; end eba_oll_api; /
Published by: Fateh January 13, 2012 07:32Fateh,
It would seem that your schema of Apex/user doesn't have access to, or otherwise know the utl_tcp Oracle package. Try running it in your workshop of Apex SQL > SQL commands.
desc utl_tcp
If you do not get a description of the utl_tcp package then you will know that your Apex selected scheme lacks the permissions to run this package. Assuming that this is the case, then you will need someone with the correct privileges to run:
grant execute on utl_tcp to [your_schema_name]
Hope that helps.
Earl
-
Hello
I have a table OMP. There are 3 columns... As
{Start end date date Qty
*********** ******************* ******
08/03/2011 20:21 09/03/2011 10:33 158}
{BUILDINGSTARTSHIFT BUILDINGSTARTTIME
******************* ******************
201103092... second post 2021
201103093... third post 2200
201103091... first post 600}
There are 3 shift is there by day... first change from 06:00. second shift 14:00 third 10 p.m. shift.
1 consider since stardate to enddate OMPWORKORDER time of each shift
{BUILDINGSTARTSHIFT BUILDINGSTARTTIME NUMBER OF MINUTES THE ENDTIME
****************** ***************** ********* ******************
201103092 2021 21:59:59 98
201103093 2200 5:59:59 480
{201103091 600 10:33:00 153}
TOTAL = 731 MINS.
I have to subtract a second from buildingstarttime. Buildingstarttime is 600 then end time 05:59:59. If that's 2200 then endtime 21:59:59.
2. share the OMPWORKORDER. AMOUNT of each shift
Quantity / (endtime-startime) = 158/731 = 0.2161142271
3 divide the amount by Maj
Final output
**********
{BUILDINGSTARTSHIFT NUMBER OF MINUTES AMOUNT OF TIRES MINUTE BY MAJ}
{****************** **************** ****************** **************}
{201103092 98 21 0.216111423}
{201103093 480 0.216111423 104}
{201103091 153 0.216111423 33}
See, how logical is here...! Pleaaaaaaaasssssssssseeeeeee help me.
Concerning
EvelyneHello
Thanks for posting the CREATE TABLE and INSERT. The purpose of doing this is to allow people who want to help you recreate the problem and test their ideas. If you post something that doesn't work, as you did, then it defeats the purpose.
When you said{create table OMP(WORKORDERID VARCHAR2(100) NOT MASTERPROCESSID VARCHAR2(100), ...
did you mean
create table OMP ( WORKORDERID VARCHAR2 (100) NOT NULL , MASTERPROCESSID VARCHAR2(100) , ...
? Do you want people to view responses that work? If so, make sure that the code of that validation works, too. Test it before uyou post.
I think that's what you want:
WITH got_quantity_per_day AS ( SELECT startdate , enddate , quantity , quantity /(enddate - startdate) AS quantity_per_day , 3 * (enddate - startdate) AS num_shifts FROM omp ) , all_shifts AS ( SELECT first_shift_start + ( (LEVEL - 1) / 3 ) AS shift_start , first_shift_start + ( LEVEL / 3 ) AS next_shift_start FROM ( SELECT TRUNC (startdate) + ( CASE WHEN TO_CHAR (startdate, 'HH24:MI') < '06:00' THEN -2 WHEN TO_CHAR (startdate, 'HH24:MI') < '14:00' THEN 6 WHEN TO_CHAR (startdate, 'HH24:MI') < '22:00' THEN 14 ELSE 22 END / 24 ) AS first_shift_start , num_shifts FROM got_quantity_per_day ) CONNECT BY LEVEL <= 2 + num_shifts ) , got_actual_times AS ( SELECT q.quantity , q.quantity_per_day , a.shift_start , GREATEST (a.shift_start, q.startdate) AS actual_start_time , LEAST (a.next_shift_start, q.enddate) AS actual_end_time , CASE TO_CHAR (a.shift_start, 'HH24:MI') WHEN '06:00' THEN '1' WHEN '14:00' THEN '2' ELSE '3' END AS shift_Id FROM got_quantity_per_day q JOIN all_shifts a ON q.startdate < a.next_shift_start AND q.enddate >= a.shift_start ) SELECT TO_CHAR (shift_start, 'YYYYMMDD') || shift_id AS buildingstartshift , (actual_end_time - actual_start_time) * 24 * 60 AS number_of_minutes , quantity_per_day / (24 * 60) AS quantity_by_minute , ROUND ( (actual_end_time - actual_start_time) * quantity_per_day ) AS tires_by_shift FROM got_actual_times ;
The results aren't quite what you asked:
BUILDINGS NUMBER_OF_MINUTES QUANTITY_BY_MINUTE TIRES_BY_SHIFT --------- ----------------- ------------------ -------------- 201103082 99 .185446009 18 201103083 480 .185446009 89 201103091 273 .185446009 51
Please explain how you get the number_of_minutes column that you posted.
-
Could someone provide me with a script of Nice forum that uses mySQL databases and allows me to view and others to view/response to their kind of like this discussion forum. I tried already to PHPBB, but I can't seem to be able to take the whole forum and put it on my site instead of the whole page of PHPBB, but if you know how todo that's fine.
Could you explain a bit more what you have problems with? I don't know what you to do what you tell your subject can not put on your site, but you can put it on the page of phpBB? If develop you I might be able to help out a little more.
Otherwise some other recommendations I would make are:
FREE
Simple machines - http://www.simplemachines.org
XMB Forum - http://www.xmbforum.com/
Commercial
Invision Power Board - http://www.invisionpower.com - I use this one
vBulletin - http://www.vbulletin.com
-
Define 'Responsive Design View' as a default view
Is there a way to define "Responsive Design View" as a view by default whenever I open a page?
Thanks in advance.
Hi lanapetkovic,
Thank you for your question. Currently, there is a keyboard shortcut to open in design mode of response.But it's the second question on this subject, I've created a bug to request: https://bugzilla.mozilla.org/show_bug.cgi?id=1045785
-
Hi team,
I don't think that this is a feature so if it's not, is it possible to add two columns for "Views" and "Answers" in the forum please?
See you soon,.
Conor
Hey Conor,
I'm not sure that understand this request. We expose already views and responses on the discussion tab. Can you please clarify?
See you soon,.
Dan
Maybe you are looking for
-
Automatic switching of WiFi in the cell for the data not work, requires a restart of the phone
The phone is a peak of Geeksphone, and the version of the operating system is 1.4. The problem is with the automatic switching of the WiFi to cell for my data. If I take the phone outside the WiFi range, it does not acquire the data (2 G, Edge, H or
-
I can't download drivers for WIndows 7? awesome
-
I don't use is the "lock" button because I use my computer only for home. However, I also have the button 'restart' for show because my programs freeze sometimes and I need to save data in this way. I need to show instead of the "lock" button Is this
-
Window movie maker 2.1.4026 version will not show the film in Windows 7 Professional
In our computer lab we are now under windows 7 Professional on low end machines. When collections are entered in the table of Storyboard, click on preview, they are not; only a black window. Help me I have 30 students working on projects and all und
-
I'm trying to set parameters when you place a PDF file in Illustrator...
When I use the option "Place."... "in the file menu I was invited with a box to make the setting of 'Culture '. As "Art" or "Entourage", etc.When I place it with a script it is defaulting to the 'Art' right now and this isn't what I want.Can I change