In E35122-05 is a mistake in the Example
In the manual
Oracle® Database
2 Day + Application Express Developer’s Guide
Release 4.2
E35122-05
is a mistake in the select-Statement which is on page 4-8 to 4-9, the last 2 lines cause an error ORA-909 , if these 2 lines are omitted, the select works.
I am shure, that there is a meaning behind these 2 lines, so I would ask you to find out what the right two lines could be.
Here is what the code looks like (I am probably giving you more than you
need, but thought it would not hurt to give you from the beginning to where
the logo & banner is):
http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
.mainpages {
font-family: "Times New Roman", Times, serif;
font-size: 16px;
font-style: normal;
line-height: normal;
font-weight: normal;
font-variant: normal;
text-transform: none;
color: #333;
.bold {
font-weight: bold;
.mainpages {
font-size: 16px;
.mainpages
.mainpagesfont .board {
font-weight: normal;
.mainpagesfont .mainpagesfont {
<h3 class="mainpagesfont"
src="../../MyOrg_pics/MyOrg_Logo_ca1.gif" alt="MyOrg logo ca1" width="162"
height="135" align="left" />!../../MyOrg_pics/Banner 999b.jpg|height=135|alt=MyOrgbanner|width=784|src=../../MyOrg_pics/Banner 999b.jpg!
Thanks for any help Jon. Right now showing you the above code is what I
can do. (because it is quicker) It is after 5p, I am on the East coast of
USA & have to scoot now, but will get back online later. If the coding
helps you make any comments to help me, I appreciate it. Could see about
getting it online somehow after the weekend if necessary. Once again,
thank you for your willingness to help.
Similar Messages
-
My iphone 4s wont sync when I connect it to the pc( not apple). It is connected as it comes up on itunes but when I try to sync it with apps/ music etc it wont. I am doing something wrong or is it a mistake with the phone. I am still able to download apps and music from itunes on my phone though.
I already restored it but that didn't help.
TIA for any replies.iPod touches or any iDevices from Apple sync only to one computer. If you sync to a different computer, all your music will be replace with the music from the new computer's iTunes. If the music were purchased from iTunes, you can re-download them again otherwise the music on iPod touch will be deleted. Do you have iTunes backup?
-
I did a mistake in the password and would like to modify my password, how to do it?
I did a mistake in the password and would like to modify my password, how to do it?
Assuming you know the current (mistaken) passcode, go to Settings > General > Passcode Lock. The iPod will ask you to enter the current passcode. When you do, you will see a button to enter new passcode.
-
Icloud found a mistake under the attempt to connect to the server
I can not log inn!
Pop up window says on my PC (IPhone and Ipad works):
icloud found a mistake under the attempt to connect to the server.
What to do??Jan Odegaard wrote:
I can not log inn!
Pop up window says on my PC (IPhone and Ipad works):
icloud found a mistake under the attempt to connect to the server.
What to do??
Tell us what the PopUp actually said, post a screenshot please. -
My wife got an ipad air model A1474 (WIFI only) in an airport shopping centre. She needed connectivity what can we do now to correct this mistake as the model is a mismatch for our environment in Nigeria where WIFI is not common
Mifi devices are usually quite small. Think Credit Card size, and maybe slightly thicker. So not really a big device you need to carry around.
In any case if you are still within the 14 day return period you may be able to return it to an Apple retail store. It needs to be an Apple Owned store, not sure Authorized Resellers will let you do it.
Other than that, bob points out, you may want to try to use the iPhone as a hotspot for the iPad. If your Carrier supports it. Like the Mifi device, the iPhone will share its cellular internet connection out to other devices over a Wireless network the iPad can use. -
hi,
i m quite new to java . Can u pls tell me the mistakes in the following programme in BlueJ (to get the day on the given date.
//reference date=31 Dec 0000 Friday
class datedays{
static String d;static int t;static int n2;
public static void enterdate(String s){
String s1=s.substring(0,2);
String s2=s.substring(3,5);
String s3=s.substring(6,10);
int i1=Integer.parseInt(s1);
int i2=Integer.parseInt(s2);
int i3=Integer.parseInt(s3);
//no. of days in a month
int n1=i1;
//condition for leap year
if( (i3%400==0)||((i3%100!=0) && (i3%4==0))){t=29;}
else {t=28;}
//no. of days in previous months in one year
System.out.println(i2);
if (i2==1){ n2=0;}
if (i2==2){ n2=31;}
if (i2==3){ n2=31+t;}
if (i2==4){ n2=31+t+31;}
if (i2==5){ n2=31+t+31+30;}
if (i2==6){ n2=31+t+31+30+31;}
if (i2==7){ n2=31+t+31+30+31+30;}
if (i2==8){ n2=31+t+31+30+31+30+31;}
if (i2==9){ n2=31+t+31+30+31+30+31+31;}
if (i2==10){ n2=31+t+31+30+31+30+31+31+30;}
if (i2==11){ n2=31+t+31+30+31+30+31+31+30+31;}
if (i2==12){ n2=31+t+31+30+31+30+31+31+30+31+30;}
System.out.println(n2);
//no. of days in previous years
int k1=(i3-1)/4;
int k2=(i3-1)/100;
int k3=(i3-1)/400;
double n3=((i3-1)*365)+k1-k2+k3;
double days=n1+n2+n3;
double rem=days%7;
if (rem==0){d="Friday";}
if (rem==1){d="Saturday";}
if (rem==2){d="Sunday";}
if (rem==3){d="Monday";}
if (rem==4){d="Tuesday";}
if (rem==5){d="Wednesday";}
if (rem==6){d="Thursday";}
System.out.println("The date "+s+" is a "+d);
System.out.println(days);
}import java.text.*;
import java.util.*;
class DayDemo {
public static void main(String[] args) {
Date reference = new GregorianCalendar(2000, Calendar.DECEMBER, 31).getTime();
DateFormat date = new SimpleDateFormat("MM/dd/yyyy");
DateFormat day = new SimpleDateFormat("EEEE");
System.out.println("The date " + date.format(reference) + " is a " + day.format(reference) + ".");
// output: The date 12/31/2000 is a Sunday.
} -
Faultless pdf print master shows mistakes on the printer's computer
For years I have manufactured artworks in Indesign (now CS2) and link with it mainly psd image files. Exotic fonts are converted into paths. The exported pdfs are then sent as print master to to the printer's. With three different printing enterprises I never had had a problem so far.
Now I have changed the print office again, and the prints look really bad: One of the psd-linked pictures has strong hard black shadows (in the original they are quite soft and greyish) and overlays with one white corner (in the original transparent background) another picture, although it appears completely correct in my pdf, on all 5 computers, which we have in the house, in different pdf readers.
In addition 2 Logos (originally white fonts on transparent background)
were printed with a white background. On no monitor that I know (ours and friends') any mistakes in the pdfs show up, only on the printer's computer they appear: I received screenshots from the print office with the same time stamps as my pdf-masters, however with the errors, high-loaded on
the server, which appear afterwards in the pressure. I am
shocked, because the print master stops to be a master if it gets out of control. What can I do? Thanks for advice.The problems you are describing sound like improper handling of transparency and overprinting at the printer, either because he doesn't understand how to deal with it correctly or his equipment is out of date. I'd look for a different printer.
Peter -
In 555 lamp dimmer circuit, lamp is not seen glowing?? wht should be done? Is there any mistake in the circuit?
Solved!
Go to Solution.
Attachments:
lamp dimmer.ms11 119 KB
lamp2.ms11 442 KBthnq... my circuit is now complete...
-
Buyer by mistakely rejected the bid instead of publsih it ,how can publish
Teja,
buyer by mistakely rejected the bid instead of publsih it ,how can publish the same against Po
pavanHi Pavan,
I didn't get what exactly you meant by rejecting the bid.
As per my understanding you want to say that the buyer has deleted the bid inviation instead of publishing the bid invitation.
Only the bid invitations are published.In such a case you can create the new bid invitation by copying the deleted bid invitation.
In case what you mean by rejecting all the bids by the buyer instead of accepting the best bid, the only way is to call another set of bids from all the bidders by clicking on "Inform bidder and send back bids" button under the Bidder / bids tab of the header data.
The bidders can send their corrected / changed bids once again for comparison the you can compare the bids and accept the best bid.
Later you can create either contract / P.O based on your requirement.
Hope this makes you clear. Clarifications are welcome.
Please don't mention any specific names while addressing queries in the open forums as others may want to answer.
In case of some specific queries you can also send those queries to my mail i.d [email protected]
Rgds,
Teja -
Java EE Tutorial - problem with the example Bookstore
Hi,
I've been working few days on a problem running the Bookstore example from the Java EE Tutorial. When I run the application, I'm redirected from the servlet BookStoreServlet to errorpage.html with the following message: The application is unavailable. Please try later. The tutorial troubleshooting reads: ... a servlet cant retrieve the web context attribute representing the bookstore. This will occur if the database server hasnt been started. But the database server is running (I'm running Derby bundled into NetBeans 6.5). The Glassfish admin console reads:
StandardWrapperValve[BookStoreServlet]: PWC1406: Servlet.service() for servlet BookStoreServlet threw exception
com.sun.bookstore.exception.BookNotFoundException: Couldn't find book: 203
at com.sun.bookstore1.database.BookDBAO.getBook(BookDBAO.java:58)
at com.sun.bookstore1.servlets.BookStoreServlet.doGet(BookStoreServlet.java:76)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:734)
at javax.servlet.http.HttpServlet.service(HttpServlet.java:847)
at org.apache.catalina.core.ApplicationFilterChain.servletService(ApplicationFilterChain.java:427)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:333)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at com.sun.bookstore1.filters.HitCounterFilter.doFilter(HitCounterFilter.java:71)
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:246)
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:214)
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:313)
at org.apache.catalina.core.StandardContextValve.invokeInternal(StandardContextValve.java:287)
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:218)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at com.sun.enterprise.web.WebPipeline.invoke(WebPipeline.java:94)
at com.sun.enterprise.web.PESessionLockingStandardPipeline.invoke(PESessionLockingStandardPipeline.java:98)
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:222)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:166)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:648)
at org.apache.catalina.core.StandardPipeline.doInvoke(StandardPipeline.java:593)
at org.apache.catalina.core.StandardPipeline.invoke(StandardPipeline.java:587)
at org.apache.catalina.core.ContainerBase.invoke(ContainerBase.java:1096)
at org.apache.coyote.tomcat5.CoyoteAdapter.service(CoyoteAdapter.java:288)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.invokeAdapter(DefaultProcessorTask.java:647)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.doProcess(DefaultProcessorTask.java:579)
at com.sun.enterprise.web.connector.grizzly.DefaultProcessorTask.process(DefaultProcessorTask.java:831)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.executeProcessorTask(DefaultReadTask.java:341)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:263)
at com.sun.enterprise.web.connector.grizzly.DefaultReadTask.doTask(DefaultReadTask.java:214)
at com.sun.enterprise.web.portunif.PortUnificationPipeline$PUTask.doTask(PortUnificationPipeline.java:380)
at com.sun.enterprise.web.connector.grizzly.TaskBase.run(TaskBase.java:265)
at com.sun.enterprise.web.connector.grizzly.ssl.SSLWorkerThread.run(SSLWorkerThread.java:106)This would indicate that the tables are empty, but they were created according to the tutorial, with the command ant create-tables, and I can see their content in NetBeans. Please help, I really need to run the examples.
Best regards,
Rene PuchingerI solved the problem running the command that is correctly explained in the page 97 of the tutorial:
Ant create-tables
My mistake was that until that day, I was believing that I could do everything inside Netbeans.
For this you explicitly need to use ant.
Then I got some error which I solved fixing the file
C:\Java\JavaEETutorial5\examples\bp-project\ build.properties
( like set correctly the path to the server and so on) -
I am using the Order Analysis Toolkit and want to get more information about the compensation for "Reference Signal Processing", which is scarce in the manuals, the website and the examples installed with the toolkit.
In particular, I am analyzing the example "Even Angle Reference Signal Processing (Digital Tacho, DAQmx).vi", whose documentation I am reproducing in the following:
<B>DESCRIPTIONS</B>:
This VI demonstrates how to extract even angle reference signals and remove the slow-roll errors. It uses DAQmx VIs to acquire sound or vibration signals and a digital tachometer signal. This VI includes a two-step process: acquire data at low rotational speed to extract even angle reference; use the even angle reference to remove the errors in the vibration signal acquired at normal operation.
<B>INSTRUCTIONS</B>:
1. Run the VI.
2. On the <B>DAQ Configurations</B> tab, specify the <B>sample rate</B>, <B>samples per channel</B>, device and channel configurations, and tachometer channel information.
<B>NOTE</B>: You need to use DSA PXI-447x/PXI-446x and PXI TIO device in a PXI chassis to run this example. The DSA device must be in slot 2 of the PXI chassis.
3. Switch to <B>Extract Even Angle Reference</B> tab. Specify the <B>number of samples to acquire</B> and the <B># of revs in reference</B> which determines the number of samples in even angle reference. Click <B>Start</B> to take a one-shot data acquisition of the vibration and tachometer signals. After the acquisition, you can see the extracted even angle references in <B>Even Angle Reference</B>.
4. Switch to the <B>Remove Slow-roll Errors</B> tab. Click <B>Start</B> to acquire data continuously and view the compensate results. Click <B>Stop</B> in this tab to stop the acquisition.
<B>ORDER ANALYSIS VIs USED IN THIS EXAMPLE</B>:
1. SVL Scale Voltage to EU.vi
2. OAT Digital Tacho Process.vi
3. OAT Get Even Angle Reference.vi
4. OAT Convert to Even Angle Signal.vi
5. OAT Compensate Even Angle Signal.vi
My question is: How is the synchronization produced at the time of the compensation ? How is it possible to eliminate the errors in a synchronized fashion with respect to the surface of the shaft bearing in mind that I am acquired data at a low rotation speed in order to get the "even angle reference" and then I use it to remove the errors in the vibration signal acquired at normal operation. In this application both operations are made in different acquisitions, therefore the reference of the correction signal is lost. Is it simply compensated without synchronizing ?
Our application is based on FPGA and we need to clarity those aspects before implementing the procedure.
Solved!
Go to Solution.Hi CracKatoA.
Take a look at the link bellow:
http://forums.ni.com/ni/board/message?board.id=170&message.id=255126&requireLogin=False
Regards,
Filipe Silva -
How to use ant1.3 in Wndows ME to build the examples in J2EE Tutorial?
When I tried to build the examples bundled with j2ee tutorial in the ..\j2eetutorial\examples directory using the ant 1.3 on Wndows ME I get the following exception.Anybody please help me.Is there any other build tool available for download?
StringIndexOutOfboundsException
D:\JAVATUTORIAL\J2EE\j2eetutorial\examples> ant -verbose all
Ant version 1.3 compiled on March 2 2001
Buildfile: build.xml
Detected Java Version: 1.3
Detected OS: Windows Me
parsing buildfile D:\JAVATUTORIAL\J2EE\j2eetutorial\examples\build.xml with URI
= file:D:/JAVATUTORIAL/J2EE/j2eetutorial/examples/build.xml
Project base dir set to: D:\JAVATUTORIAL\J2EE\j2eetutorial\examples
Build sequence for target `all' is [init, savingsaccount, bank, cart, checker, c
onfirmer, converter, enroller, order, salesrep, storagebin, teller, htmlreader,
warehouse, simplemessage, cmproster, ejb, date, hello1, hello2, bookstore1, web-
ejb, bookstore2, bookstore3, web, all]
Complete build sequence is [init, savingsaccount, bank, cart, checker, confirmer
, converter, enroller, order, salesrep, storagebin, teller, htmlreader, warehous
e, simplemessage, cmproster, ejb, date, hello1, hello2, bookstore1, web-ejb, boo
kstore2, bookstore3, web, all, create-storagebin-table, get-cci-jar, procs, cci,
connector, create-salesrep-table, create-procs-alias, create-coffee-table, abou
t, create-enroller-table, create-savingsaccount-table, create-web-db, create-war
ehouse-table, create-bank-table, clean, create-order-table, create-teller-table,
prepare, create-ejb-db]
init:
[property] Loading Environment myenv.
BUILD FAILED
D:\JAVATUTORIAL\J2EE\j2eetutorial\examples\build.xml:19: D:\JAVATUTORIAL\J2EE\j2
eetutorial\examples\build.xml:19: java.lang.StringIndexOutOfBoundsException: Str
ing index out of range: -1
--- Nested Exception ---
D:\JAVATUTORIAL\J2EE\j2eetutorial\examples\build.xml:19: java.lang.StringIndexOu
tOfBoundsException: String index out of range: -1
--- Nested Exception ---
java.lang.StringIndexOutOfBoundsException: String index out of range: -1
at java.lang.String.substring(String.java:1476)
at org.apache.tools.ant.taskdefs.Property.loadEnvironment(Property.java:
248)
at org.apache.tools.ant.taskdefs.Property.execute(Property.java:172)
at org.apache.tools.ant.Target.execute(Target.java:153)
at org.apache.tools.ant.Project.runTarget(Project.java:898)
at org.apache.tools.ant.Project.executeTarget(Project.java:536)
at org.apache.tools.ant.Project.executeTargets(Project.java:510)
at org.apache.tools.ant.Main.runBuild(Main.java:421)
at org.apache.tools.ant.Main.main(Main.java:149)
Total time: 2 seconds
D:\JAVATUTORIAL\J2EE\j2eetutorial\examples>
*********************************************************************Please Help Me
-
how do I make a drop down list of text in numbers as it is made in the example spreadsheet for comparing cars for buying where you can choose a value from a dropdown list for each car?
Where is this example spreadsheet? Without seeing it I can only guess at what you are asking.
To make a drop-down list (a pop-up menu in Numbers-speak), format the cell as a pop-up then edit and add to the list of items.
If the example spreadsheet is pulling in a dollar value based on what car you chose in the pop-up, it is probably using LOOKUP or one of the other lookup functions, getting the information from another table (a lookup table). If, instead, these dollar values are what you are choosing in the pop-up, then you need to create a pop-up with these values in it.
The Help menu includes a link to a page where you can download the Numbers Users Manual. It also has a link to the Formulas and Functions guide. Both are useful to new users. -
Question on the example code 8253eventcount.c
Hi.
I saw the example code 8253eventcount.c before in the NI-DAQ6.9.x. That is very useful.But i still confuse that "Do i need to set up each clock pulse duration?". From the program, it seems that the counting process solely depends on the function NIDAQDelay(sec).....
By the way, if i am now using an old version of NI-DAQ6.8.5, How can i update some calculated voltages for each 1ms. Although i have read and followed the procedures in the user mannual of lab-pc+,but, i am still not sure how to program the counterA2 with appropriate update interval. Could anyone give me an example code? It seems that no examples are given in the version of NI-DAQ6.8.5.
I am now using lab-pc+ with Ni-daq6.8.5 by using c++ and win
dows95 as my working platform.Please help me in anyway! Thanks!
Attachments:
Lab_PC+_AO.cpp 2 KBThe NIDAQDelay() is only in there to control how often the program checks the current count on the counter. If it is set to 1 seconds, it will read the counter every one second and return how many counts have been read since the start. If you take that function out, the program will check the counter as fast as it can which will tie up your CPU.
As to your question about calculated voltages, can you be more specific as to what your application is and what you are trying to do, I'm a little confused.
Brian -
How to get rid of the "time out" when using DAQ AI in the example program
I try an example file called "AcqVoltageSamples_IntClkDigRef" (Visual C++ .NET). It works great. However, if the program has not recieved the data, it sent out a timeout message. How to get rid of the "time out"? I cannot find anywhere in the code. Is this a property I have to reset somewhere else?
Thank you,
Yajai.Hello Yajai,
The example program will use the default value for timeout, 10 seconds. To change this, you will have to set the Stream.Timeout value. I inserted this function into the example and set it equal to -1, and the program will wait indefinitely for the trigger signal without timing out. Please see the attached image to how this was implemented.
I hope this help. Let me know if you have any further questions.
Regards,
Sean C.
Attachments:
SetTimeout.bmp 2305 KB
Maybe you are looking for
-
Can't recover disk space after finishing/deleting movies
My ipod touch (8GB) still reports that 2 GB are taken up by videos, even though I don't have any accessible videos on it now. These appear to be the footprints of two movies I rented from itunes. But I finished watching the movies and they don't appe
-
I'm having problems like a lot of others with Google as it has removed it's 'UK only' button from it's home/search screen. I prefer the Google Mozilla Firefox Start Page as it gives me the options I need. On the Firefox toolbar search box, which drop
-
I have a problem with rendering some labels in a first column of table (Tree's leafs) in some cases. They just doesn't rendered at all. It especially appears when using multiple embranchment. Maybe someone faced something similar and can give any adv
-
My phone shut off when updating to iOS 6.1 it won't turn back on!!!! It's been a while :-( help!!!!
-
Recurrent warped topcase?
HI ALL - I've had my Macbook since around November, but noticed a dent in the topcase/unibody quite early on, which then cracked - took it into Apple, they told me the entire topcase was warped (ie. bent out of shape) and said it was classed as accid