How to make a list of dynamic selection with time interval of 15 minutes
Hi allI have a question. I need a selection list containing the time with 15 minute intervals from 08:00 until 16:00.
example 08:00
08:15
08:30
08:45
09:00
09:15
and so on until 16:00
Or values stored in a column of varchar type.
Can someone help me with this one please?
Best regards
Caroline
You can generate the entries in a dynamic way, as:
select to_char(trunc(sysdate)+8/24+(level-1)*1/96,'HH24:MI') period
from dual
connect by level <= 33
or if you want/need to use your stored values:
select display_column, return_value from table where
display_column in (
select to_char(trunc(sysdate)+8/24+(level-1)*1/96,'HH24:MI') period
from dual
connect by level <= 33 )
Tags: Database
Similar Questions
-
How to make a list of question field with the data type DATE?
I have a column with the DATE data type. Using forms 6i I want to generate a poplist field of list item with this column while the value of the items in the list of names of days like SATURDAY, SUNDAY, MONDAY. If we change the date to a char data type, it won't work properly, but now with the data type DATE behind him, it gives the following error message
"FRM-32082: invalid value for given the type of element."
List WEEKREST
Article: WEEKREST
Block: EMPRESTS
Form: module 3
FRM-30085: unable to adapt to the shape for the release. »
Using forms 6i how a list item field type DATE data which may contain names of days?Set your date as a hidden field (not shown) column. Create your item list with the names of day of varchar2. Create the list item as a base table field that accepts the values of text in the names of the days. On this area, create a when-validate-item trigger that translated the text into an actual date that it then uses to set the value of the real object of the base table.
-
How to make the list of instrumental music
How to make a list of all my player someone help
Alan
iTunes is not a method to determine what tracks have vocals. You can create a normal playlist and put what you want in it.
TT2
-
How to make the handles visible direct selection on the pasteboard?
When I go to for transformation/resize images within frames using direct Selection, I don't see the handles of the image because they are white against a white cardboard. I use InDesign CS5 (ver 7.0.4) on a Mac. I've been using InDesign for a few years and never noticed that it was a problem; all of a sudden, the handles seem invisble. I don't remember what the color scheme was before. (Maybe I'll lose my mind). The colors did not alter an update? There is an option in the preferences to choose the color of the pasteboard, but this does not seem to have any effect. In the meantime, I can't find the handles to resize/convert images. I can enter a percentage to scale, but it is sometimes useful. How to make the handles visible direct selection on the pasteboard?
If you're talking about the color of a path and its handles, which is dependent on the color of the layer selection. Go to the layers panel. Double-click the currently selected schema and change the selection to something darker color.
-
How to make a text field required at run time when the user clicks on the box?
I had a form, there are several checkboxes fields and the text associated with the check boxes. If the use clicks on the checkbox then partner
text fields should become mandatory. I tried the change event and the click event of the boxes. There is error in the onChnage event and I got some odd results in the click event on. Sometimes, if the user clicks the check box, then for the 1st time the field is not required, then the user onclicks the box and when the user clicks the check box for the second time the field becomes necessary, but if I turns off the option highlight the field and selects the field becomes necessary even if the user onchecks I am totally confused! To add that I have also written an incorrect code always I reached the goal? How it can be possible. I write the codes below, please help me because I am working under a deadline from the client.
onChange event:
var = this.boundItem (xfa.event.newText) newVal;
if(newVal == 0)
{
xfa.resolveNode ("form1. Subform0.Subform1.Subform9.Subform10.Table48.Row4.Purchasecost3_1'). validate.nullTest = "disabled";
}
on the other
{
xfa.resolveNode ("form1. Subform0.Subform1.Subform9.Subform10.Table48.Row4.Purchasecost3_1'). validate.nullTest = 'error ';
}*/For the onClick event:
var a = xfa.resolveNode ("form1..") RawValue Subform0.Subform1.Subform9.Subform10.Table48.row2.CostItemRecovere d_OnlyEnergyCharges");
App.Alert (a);
if(a == 0)
{
xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row4.ComplianceCheck__L1_1").validate.nullTest = 'error ';
}
if(a == 1)
{
xfa.resolveNode("form1.Subform0.Subform1.Subform9.Subform10.Table48.Row4.ComplianceCheck__L1_1").validate.nullTest = "disabled";
}Please help someone!
Hello
You may need this resolved at this point, but here are a few tips.
An example of a loop in a dynamic array is here: Re: how to make invisible/visible or hidden columns with checkbox?
You are usually not necessary to resolve the nodes, especially when the script object is in the same table as the target objects.
For example if the table was not static your script could be simplified:
if (this.rawValue == "1") // this object is in Row2 { Row4.ComplianceCheck_L1_1.mandatory= "error"; ... }
However because you will be to loop through all the rows in the table repeatable instances / then you need to resolve the nodes. Take a look at the example above.
In your script, you have to Row8 Row4. I don't know if this is repeatable or just some of them. If we take Row4 as being repetitive, then you can apply the following to all repeatable lines.
var vRow4 = Table48._Row4.count; console.println("Row4: " + vRow4); // You can delete this or comment it out after testing
if (this.rawValue == "1") // this object is in Row2 { for (var i=0; i
I have not tested, but it should be close to work.
Good luck
Niall
-
Hello, I would like to know how to make horizontal sites and it moves with scrolling
Hello, I would like to know how to make horizontal sites and it moves with scrolling
The scrolling would work with the scrolling of the mouse.
Site that you mentioned also uses the same movement of scrolling with the horizontal length long.
This video could give the exact idea:
https://www.YouTube.com/watch?v=x5YMbB1jMdY
Thank you
Sanjit
-
How to make a list with the DB control
Hello
I need fill a listbox using the dbcontrol, I saw how to define a textBox control with a recordset from the database by making a custom_query and call it through java script, example:
infra_custom. SQL:
Get Prueba_Nak
DESCRIPCIÓN SELECT THE
OF DB_PRUEBA
WHERE CALL_NUMBER =: nCALL_NUMBERCustom_inCallDetails.js:
function pruebaQueryMuestra() {}
var db = document.all.DB;
DB. ClearParam();
DB. AddParam ("CALL_NUMBER", document.all.CALL_NUMBER.value);
var RS = db. GetRecordSet ("Get Prueba_Nak");
document.all.EXTFLDV_500004.value = RS("DELESDE").value;
document.all.MI_POLLA.value = "HELLO";
}function customLoad() {}
pruebaQueryMuestra();
}Well, this work well for complete results, but, if I need more lines for painting, a list, how can I make a loop in a recordset with only one result?
Kind regards
The first thing I would say is that you just use the SU_SELECT_VALUES table & fill if possible through Designer.
If you don't want really dynamically change the menu drop down content based on the number of appeal then you could populate the drop-down list dynamically using JavaScript.
something like...
fill in the parameters...
var r = da. DB. GetRecordset...
If (! r.BOF) r.MoveFirst;If (r.Fields.Count > 2)do something here. There are not enough columns in the query results to populate a drop-down list with a ref and name.on the other{FAL EXTFLDV_500004.options. Length = 0;While (! r.EOF){Like var = document.createElement ("OPTION");oOption.value = r("REF").value;oOption.text = r("NAME").value;FAL EXTFLDV_500004.options. Add (option);r.MoveNext;}} -
How to make the table display dynamically in jquery mobile
Hello
can you please tell me how to do table display dynamically in jquery mobile. ?
Please give a few example
Hi Q3test,
Check this link below
http://hippieitgeek.blogspot.se/2013/01/creating-dynamic-tables-with-jQuery.htmlHope this will help you.
-
How to make the printer deskjet 3940 compatible with Windows 7 Home Basic, 32-bit?
I have the HP Deskjet 3940 printer. I recently bought a Lenovo (C320, 57-302429) desktop computer that has Windows 7 home basic, 32-bit operating system. The said printer does not work with the computer above. Please guide how to make this printer compatible with the operating system above.
1. click on the Start button, select Control Panel and double-click devices and printers.
2. click on Add a printer.
3. Select Add a local printer.
4. Select an existing Local USBx port, click Next.
5. click on the Windows Update button.
6. once the update is complete, locate the 3940 driver.
7. click on Next,Next,Next,Next,Finish
-
How to make a smart export a package with JAVA?
Hello! And sorry for my bad English.
I just want to know how to make a smartExport of a package in JAVA. I already write code, but it has exported all my project and not only my package.
final String folderPath = fonctionDiverses.pathFolder(); final String smartExportFileName = fonctionDiverses.xmlName(); // Set the encoding of XML file final EncodingOptions expeo = new EncodingOptions ("1.0", "ISO8859_9", "ISO-8859-9"); Locale locale = new Locale ("en", "US"); Locale.setDefault (locale); // // From which Project will be exported the Integration Interfaces? Set below the Project code final String srcOdiProjectCode = fonctionDiverses.projectName(); // // Export the Integration Interfaces from the Project final List<ISmartExportable> expIntegrationInterfaces = new LinkedList<ISmartExportable> (); // Allocate an odisinstance of the name final OdiInstance odiInstance = odiInstanceHandle.getOdiInstance(); try { TransactionTemplate tx = new TransactionTemplate(odiInstance.getTransactionManager()); tx.execute(new TransactionCallbackWithoutResult() { protected void doInTransactionWithoutResult(ITransactionStatus pStatus) { /* * * << ODI SDK Codes goes here >> * */ // OdiProject project = ((IOdiProjectFinder) odiInstanceHandle.getOdiInstance ().getTransactionalEntityManager ().getFinder( OdiProject.class)).findByCode(srcOdiProjectCode); //$NON-NLS-1$ Collection<OdiInterface> odiInterfaces = ((IOdiInterfaceFinder)odiInstanceHandle.getOdiInstance ().getTransactionalEntityManager ().getFinder (OdiInterface.class)).findByName(fonctionDiverses.packageName(), srcOdiProjectCode, fonctionDiverses.folderName()); //$NON-NLS-1$ for (OdiInterface pop : odiInterfaces) { expIntegrationInterfaces.add( (ISmartExportable) pop); System.out.println("pop : "+ pop.getName ()); } ISmartExportService esvc = new SmartExportServiceImpl (odiInstanceHandle.getOdiInstance ()); try { esvc.exportToXml (expIntegrationInterfaces, folderPath, smartExportFileName, true, false, expeo, false, null); } catch (IOException e) { e.printStackTrace (); } } }); } finally { odiInstanceHandle.release(); } } }
I got my answer that I post here to help someone else.
package truc; import java.io.IOException; import java.util.Collection; import java.util.LinkedList; import java.util.List; import java.util.Locale; import oracle.odi.core.OdiInstance; import oracle.odi.core.persistence.transaction.ITransactionStatus; import oracle.odi.core.persistence.transaction.support.TransactionCallbackWithoutResult; import oracle.odi.core.persistence.transaction.support.TransactionTemplate; import oracle.odi.domain.project.OdiInterface; import oracle.odi.domain.project.OdiPackage; import oracle.odi.domain.project.OdiProject; import oracle.odi.domain.project.finder.IOdiInterfaceFinder; import oracle.odi.domain.project.finder.IOdiPackageFinder; import oracle.odi.domain.project.finder.IOdiProjectFinder; import oracle.odi.impexp.EncodingOptions; import oracle.odi.impexp.smartie.ISmartExportService; import oracle.odi.impexp.smartie.ISmartExportable; import oracle.odi.impexp.smartie.impl.SmartExportServiceImpl; import oracle.odi.publicapi.samples.SimpleOdiInstanceHandle; public class ClassName { public static void main(String args[]){ final FonctionParamExport fonctionDiverses = new FonctionParamExport(); //Paramètre de connexion à ODI et au repo final SimpleOdiInstanceHandle odiInstanceHandle = SimpleOdiInstanceHandle.create ("jdbc:oracle:thin:@localhost:1521:EXEMPLE", "oracle.jdbc.OracleDriver", "Repo_User", "Repo_Password", "WORKREP", "ODI_user", "ODI_password"); // // Set the location, and name of the Smart Export .xml file (the file which will be created during the Smart Export operation, and which will hold the exported objects) final String folderPath = fonctionDiverses.pathFolder(); final String smartExportFileName = fonctionDiverses.xmlName(); // Set the encoding of XML file final EncodingOptions expeo = new EncodingOptions ("1.0", "ISO8859_9", "ISO-8859-9"); Locale locale = new Locale ("en", "US"); Locale.setDefault (locale); // // From which Project will be exported the Integration Interfaces? Set below the Project code final String srcOdiProjectCode = fonctionDiverses.projectName(); // // Export the Integration Interfaces from the Project final List
expIntegrationInterfaces = new LinkedList (); // Allocate an odisinstance of the name final OdiInstance odiInstance = odiInstanceHandle.getOdiInstance(); try { TransactionTemplate tx = new TransactionTemplate(odiInstance.getTransactionManager()); tx.execute(new TransactionCallbackWithoutResult() { protected void doInTransactionWithoutResult(ITransactionStatus pStatus) { OdiProject project = ((IOdiProjectFinder) odiInstanceHandle.getOdiInstance ().getTransactionalEntityManager ().getFinder( OdiProject.class)).findByCode(srcOdiProjectCode); //$NON-NLS-1$ Collection odiPackages = ((IOdiPackageFinder)odiInstanceHandle.getOdiInstance ().getTransactionalEntityManager ().getFinder (OdiPackage.class)).findByName(fonctionDiverses.packageName(), srcOdiProjectCode, fonctionDiverses.folderName()); //$NON-NLS-1$ for (OdiPackage pop : odiPackages) { expIntegrationInterfaces.add( (ISmartExportable) pop); System.out.println("pop : "+ pop.getName ()); } ISmartExportService esvc = new SmartExportServiceImpl (odiInstanceHandle.getOdiInstance ()); try { esvc.exportToXml (expIntegrationInterfaces, folderPath, smartExportFileName, true, false, expeo, false, null); } catch (IOException e) { e.printStackTrace (); } } }); } finally { odiInstanceHandle.release(); } } } -
How to make my form to be compatible with older versions of adobe
Hello
I created a dynamic form with adobe life cycle 9. As users try to use the form, they get this error:
"This PDF form requires a newer version of Adobe® Reader® or Adobe Acrobat® software. Although this form may seem to work, some items may not work correctly or may not appear at all. »
Is there a way to make the form compatible with older versions of adobe?
Thank you.
In the menuFichier-> properties of form as the default tab, choose the Version target of Adobe Reader that you expect users to the minimum version.
If the feature is not compatible with the selected version, then the warnings will be displayed on the report tab. You can access it by going to the menu of the window-> report.
Thank you
Srini
-
How to make a mirror of an image with windows image 7
How to make a mirror of an image image using windows 7?
Refer to this,
http://Windows.Microsoft.com/en-us/Windows7/using-paint
Right-click on the image and click Open with,
Click on the painting,
Click rotate on the upper left and Horizontal.
This will give you a mirror image,
Click on the blue button on the file and click on save as,
Click on a file type and name it, save.
-
Hi, I would like to make a simple site where the main text in the center of the page changes whenever the user refreshes the page in their browser. I guess I'll have to do a master and several pages that are all the same except for changes in the text, but I don't know how to make sure each update goes to another page and not just the home page? Is it still possible in the Muse?
This is an example of what I'm going: : procatinator:
Thank you!
You can't do it with only Muse. Would be probably pretty simple to do with a bit of Javascript. Check the widget directory such that it is possible that someone has made a widget for random content. If not, maybe I'll do one this weekend. ;-)
-
How to use Bulk collect in dynamic SQL with the example below:
My Question is
Using of dynamic SQL with collection in bulkif we pass the name of the table as "to the parameter' function, I want to display those
An array of column names without vowels (replace the vowels by spaces or remove vowels and display).
Please explain for example.
Thank you!!It's just a predefined type
SQL> desc sys.OdciVarchar2List sys.OdciVarchar2List VARRAY(32767) OF VARCHAR2(4000)
You can just as easily declare your own collection type (and you are probably better served declaring your own type of readability if nothing else)
SQL> ed Wrote file afiedt.buf 1 CREATE OR REPLACE 2 PROCEDURE TBL_COLS_NO_VOWELS( 3 p_owner VARCHAR2, 4 p_tbl VARCHAR2 5 ) 6 IS 7 TYPE vc2_tbl IS TABLE OF varchar2(4000); 8 v_col_list vc2_tbl ; 9 BEGIN 10 EXECUTE IMMEDIATE 'SELECT COLUMN_NAME FROM DBA_TAB_COLUMNS WHERE OWNER = :1 AND TABLE_NAME = :2 ORDER BY COLUMN_ID' 11 BULK COLLECT 12 INTO v_col_list 13 USING p_owner, 14 p_tbl; 15 FOR v_i IN 1..v_col_list.COUNT LOOP 16 DBMS_OUTPUT.PUT_LINE(TRANSLATE(v_col_list(v_i),'1AEIOU','1')); 17 END LOOP; 18* END; SQL> / Procedure created. SQL> exec tbl_cols_no_vowels( 'SCOTT', 'EMP' ); MPN NM JB MGR HRDT SL CMM DPTN PL/SQL procedure successfully completed.
Justin
-
List of dynamic values with more than 2 columns
I have a dynamic LOV with a UNION. I am selecting a display and return value, but I need to order the records by a 3rd field which is different in each of the selects. Unfortunately the LOV yells at me if I try to do. Is this in any way about this?
Select C.name d, C.pk_id r, C.order x
of ' #OWNER # '. " STU_BASE' C, #OWNER # .student_list B, #OWNER # .student_list_det A
UNION
Select B.name d, B.pk_id r, A.seq_id x
of ' #OWNER # '. " STU_BASE' B, apex_collections A
where A.collection_name = 'STUDENT_LIST' and
B.pk_id = A.c001
order by 3Try
select d,r from ( select C.name d, C.pk_id r, C.order x from "#OWNER#"."STU_BASE" C, #OWNER#.student_list B, #OWNER#.student_list_det A UNION select B.name d, B.pk_id r, A.seq_id x from "#OWNER#"."STU_BASE" B, apex_collections A where A.collection_name = 'STUDENT_LIST' and B.pk_id = A.c001 order by 3 )
CITY
Maybe you are looking for
-
Name.vi for Windows 7 64 bit computer
I saw in the older posts, there is a vi named "Name.vi computer" (which is used in a LabVIEW project I'm trying to get to level). When I try to run it, I get an error code: Error-604 occurred at Key.vi of open registry is there a solution to this er
-
the signal strength especially in car
Had the Xperia Z3 Compact for less than a week, I put it through bluetooth to make calls from my car radio, but I now notice that the signal strength shows that 1-2 bars most of the time, the number goes up when I get out of the car. but I have to be
-
BlackBerry Smartphones-wireless data synchronization
Model 7290 The device is configured for wireless synchronization and desktop software won't synchronize calendar or AddressBook with Outlook. Anyone know how to disable the wireless sync? Thank you Wayne-o
-
Internet and Intranet can be used simultaneously in a PC?
Internet and Intranet can be used simultaneously in a PC? If so please tell us how to do it. Thanks in advance.
-
Connection in the process of re-emergence/disappearance-limited Qualcomm Atheros AR9485 Driver
I have googled and looked in the forums of microsoft for 4 hours in the last few days without solving this problem. Card WiFi of my asus laptop is in the title. Constantly, he disappears from the Device Manager page and will reappear at random. Whe