20 Posted Topics
Re: Every story has a happy ending. If it's not happy, then it's not yet the ending. | |
I have this code in the add button. The recordsource of the grid is a local view. Record is not updated after thisform.grid1.refresh. also tried thisform.refresh but it still not work. [CODE] SELECT teybolinboys APPEND BLANK replace c_id WITH thisform.txtcus.Value replace p_id WITH thisform.txtpro.Value replace selldate WITH thisform.txtdat.Value replace quantity … | |
Hi! I am having trouble with this program. I'm done with the creation of records. My problem is, I cant make it print a record using the Record Number inputted by the user. I used seekg() but it doesn't work. I have attached the files for reference. try.cpp and accounts.txt … | |
Example, lets say I have L1.html and L2.html. In L1.html, I have a <div id='name'></div>. Is it possible to call that 'div' in L2.html using its 'id? If possible, how? Can you give a sample? Thanks in advance. | |
Can you help me with the equivalent code of this in firefox? Thanks in advance. [CODE]<html> <head> <title>Event Handling</title> <script type="text/javascript"> <!-- //MOUSE COORDINATES function updateMouseCoordinates(){ coordinates.innerText = event.srcElement.tagName + "(" + event.offsetX + "," + event.offsetY + ")";//works on IE not in firefox } //--> </script> </head> <body onmousemove="updateMouseCoordinates()"> … | |
I have attached the files. I think, there's a problem with listarr.cpp. I'm not yet good at c++ terminologies, please take time to download and see the files. I use dev-c. | |
I created a function wherein if a textField has no value/input, it will prompt an alert. However, the function is not working. Things I consider that makes it not work: 1) the "inp" variable 2) declaration at <form> tag 3) looping the all the textfields What do you think? Please … | |
Let's say, user input on prompt is 1 so JavaScript will create one textfield. We'll test Assess() if its working. Type "1" on textField and click "Assess" button. No alert message appears. Please help. Thanks in advance. [CODE]<html> <head> <title>JavaScript</title> <style type="text/css"> font{ color:#663300; font-variant:small-caps; font-family:calibri; font-size:15; } </style> <script … | |
[CODE]var strs="hello"; var strslength=strs.length();[/CODE] is this correct? | |
Please see the comment on code below to see the problem. [CODE]<html> <head> <title>Sequence: x ^ n -1</title> </head> <body> <script type = "text/javascript"> var sqn; var pow=1; var pans=1; do { sqn = prompt("Enter Sequence: "); }while(sqn<0); var psqn; psqn=parseFloat(sqn); if (psqn==0){ document.write("0"); } else if (psqn>0){ document.write("9<font color=red> … | |
i am newbie in java programming. So as a beginner, i need to understand technical terms from developers like you. Please answer the question in a way that a beginner like me would understand. I don't like links, i want a definition from you. Thanks a lot in advance. | |
Does anyone know how to use a prompt on java applet? I was to create a very simple calculator. Two prompts will appear asking for inputs. Then the sum, product, difference, and quotient will appear on java applet. | |
The program should tell user how many vowels occured on each word in a given string. The string was "Once upon a midnight dreary, while I pondered weak and weary." The output generated by the codes below was: [COLOR="Green"]Enter string(s): Once upon a midnight dreary, while I pondered weak and … | |
[CODE]/*manimbo_mp4.java*/ import java.io.*; public class manimbo_mp4{ public static void main (String[]args) throws IOException{ BufferedReader br=new BufferedReader (new InputStreamReader (System.in)); /*initializing STRING FORMAT variables *smmort holds monthly mortgage amount *spaym holds mortgage payment amount *sremb holds principal amount*/ String smmort,spaym,sremb; /*initializing LONG FORMAT variables *lmmort holds monthly mortgage amount *lpaym holds … | |
can anyone give me a sample code of a while statement with more than one condition? please... | |
[CODE]/*manimbo_mp5*/ import java.io.*; public class manimbo_mp5{ public static void main (String[]args) throws IOException{ BufferedReader br=new BufferedReader (new InputStreamReader (System.in)); Integer x=8,y=1,heads=0,tails=0; String ht=""; while (x>0){ System.out.print ("Enter toss #" + y + " result: "); ht=br.readLine(); if (ht=="h"){ heads++; } else if (ht=="t"){ tails++; } x--; y++; System.out.println ("Tails: " … | |
Re: is there any finished code for the problem stated above? | |
i'm a guy looking for a guy. LOL... just kidding... The reason why I joined daniweb is to learn more about different kinds of programming languages. | |
I can't reverse the inputted word... Here is my code... Please correct it... Sample Output: Type word(s): hello The reverse is: 'olleh' [CODE=c]#include <stdio.h> #include <conio.h> #include <iostream.h> #include <ctype.h> #include <stdlib.h> #include <string.h> char orig [300]; char rev [300]; int len; void original () { cout << "\n\n\tType word(s): … |
The End.