Menu
Menu
DaniWeb
Log In
Sign Up
Read
Contribute
Meet
Search
Search
About 1,000 results for
statement
- Page 1
Re: Buggy career talk :-P
Programming
1 Month Ago
by Reverend Jim
… was in column 72. The next line continued the previous
statement
. By pushing the comma into the sequence area it was…
statement
Programming
Databases
15 Years Ago
by carsein
…'t really find the solution. Hope anyone can help. What
statement
should I write for this:There is a table of…
statement help
Programming
Software Development
15 Years Ago
by manutd4life
Am getting problem with this update
statement
: Here's the code: [code=vb.net]Private Sub cmdUpdate_Click(…
Statement stmt syntax errror
Programming
Software Development
15 Years Ago
by ceyesuma
…= 0; i < schoolofdbTables.length; i++) {
Statement
stmt = null; temp = null; String temp = …table: " + temp); try { stmt = (
Statement
) conn.createStatement(); stmt.executeUpdate(temp); stmt.close(); bCreatedTables …
Statement not being executed in source
Programming
Software Development
13 Years Ago
by berniefitz
… am currently struggling through trying to figure out why a
statement
in my source code isn't being executed when running…[row, 7].Value + taxableValueDifference; The first and last
statement
execute, but the middle
statement
is just skipped. Any ideas as to why…
statement adding extra space
Programming
Software Development
19 Years Ago
by shanenin
… tax is: $",base_price+under_coat+stereo+air+tax[/code] this
statement
is not behaving in the way I think it would…
Re: statement adding extra space
Programming
Software Development
19 Years Ago
by vegaseat
The comma will automatically add a space. Better use this formatted print
statement
: [php]print "the total price of the car with all extras and tax is: $%d" % (base_price+under_coat+stereo+air+tax) [/php]
statement to open new url and close calling page.
Programming
Web Development
16 Years Ago
by squarkman
… morning. I would like to replace line 178 with a
statement
which would simply open a new url and close out…
Re: statement to open new url and close calling page.
Programming
Web Development
16 Years Ago
by squarkman
Thanks! Wonder why it's called header. What's it got to do with a header. It's a
statement
that will open a url inside php. Someone said it could not be done.
Re: statement
Programming
Databases
15 Years Ago
by VIeditorlover
Are talking about a form of soft realtime? Please try to explain why is 3s limit so important for you, maybe it would be much easier to help you.
Re: statement
Programming
Databases
15 Years Ago
by carsein
I mean the difference between timestamp is 3 sec(or any given value).
Re: statement
Programming
Databases
15 Years Ago
by VIeditorlover
So you have many records and you want to see only pairs of rows created in less than 3 sec time window, right?
Re: statement
Programming
Databases
15 Years Ago
by carsein
yes..
Re: statement
Programming
Databases
15 Years Ago
by sknake
Try this: [code=sql] --Create a simulation table IF OBJECT_ID('ParcelTest', 'U') IS NOT NULL DROP TABLE ParcelTest Create Table ParcelTest ( ID int identity(1000, 1) PRIMARY KEY, ShipDate DateTime, Name varchar(30) ) GO --Create test data Declare @DateTime DateTime Set @DateTime = Floor(Cast(GetDate() as float)) Insert Into …
Re: statement help
Programming
Software Development
15 Years Ago
by sknake
That all depends on what your final query is evaluated as. We can't see what your user input is. One piece of advise: [b]use parameterized queries![/b] [url]http://forums.devx.com/showthread.php?t=160026[/url] Put a break point on the line [icode]com.ExecuteNonQuery()[/icode] and evaluate the value of [icode]com.CommandText[/icode] and post it …
Re: statement help
Programming
Software Development
15 Years Ago
by kvprajapati
@manutd4file : error saying (no value given for one or more required parameters) --- Compare columns names with your fields (columns) of database's table.
Re: statement help
Programming
Software Development
15 Years Ago
by padtes
As suggested by Scott Knake, find what the final SQL is, copy that and paste in query analyzer to see if that by itself. Syntax error given there are more informative. Other thing he suggested is paramterize your query. Otherwise, data with single quote will bomb the query, worst yet, it is prone to security flaw (google SQL injection)
Re: statement help
Programming
Software Development
15 Years Ago
by yorro
Try displaying the SQL as a Label in your form to see if some of the txt.Text is null.
Re: Statement::excuteUpdate vs Statement::excuteQuery
Programming
Software Development
14 Years Ago
by masijade
…=http://java.sun.com/javase/6/docs/api/java/sql/
Statement
.html]api docs[/url] say [quote]Executes the given… SQL
statement
, which returns a single ResultSet object.[/quote] for executeQuery and… [quote]Executes the given SQL
statement
, which may be an INSERT, UPDATE, or DELETE…
If Statement help
Programming
Software Development
14 Years Ago
by Martin.S
…<= 110 Then sCategory = 2 End If 'category three
statement
If txtWindSpeed.Text >= 111 Then sCategory = 3 ElseIf …lt;= 130 Then sCategory = 3 End If 'category four
statement
If txtWindSpeed.Text >= 131 Then sCategory = 4 ElseIf …
Re: How To Add a Count Value to a Foreach Statement?
Programming
Web Development
14 Years Ago
by JBLDW
…amp; ($prod['imgsm'] != 'none.png')) {$multi_images = 1;} } // End of foreach
statement
. // +-- // | Define the header text. // +-- $header = $this->globals('ecom… {$header = 'Items';} } else { $header .= ' Featured Items'; } // End of if
statement
. $header = $this->xhtml_encode($header); $random = 'x' . $this->random_key…
Java Interpreter: LET Statement
Programming
Software Development
14 Years Ago
by jliao20
…Facile program, such as division by zero or // a RETURN
statement
without a corresponding GOSUB, a FatalException is // thrown. public …void execute(ProgramState state) throws FatalException; } public class LetStatement extends
Statement
{ private char variableName; private int value; public LetStatement(char variableName…
Kotlin equivalence of Java try-with-resource statement
Programming
Software Development
3 Years Ago
by dimitrilc
… is similar to the try-with-resource
statement
in Java to automatically close Autocloseable/Closeable …`close()` method on resources declared in its declaration
statement
. The resources that are declared must implement `Autocloseable… call `close()` manually because the try-with-resource
statement
will automatically do that for us. ## Kotlin `use…
Re: How To Add a Count Value to a Foreach Statement?
Programming
Web Development
14 Years Ago
by JBLDW
…amp; ($prod['imgsm'] != 'none.png')) {$multi_images = 1;} } // End of foreach
statement
. // +-- // | Define the header text. // +-- $header = $this->globals('ecom… {$header = 'Items';} } else { $header .= ' Featured Items'; } // End of if
statement
. $header = $this->xhtml_encode($header); $random = 'x' . $this->random_key…
"The method setInt(int, String) is undefined for the type Statement"
Programming
Web Development
13 Years Ago
by grendel0
…(int, String) is undefined for the type
Statement
", also error occurs for setString. Any … rst=null; ResultSet rst1=null;
Statement
stmt=null;
Statement
stmt1=null;
Statement
stmt2=null; try{ String url="… rst=null; ResultSet rst1=null;
Statement
stmt=null;
Statement
stmt1=null;
Statement
stmt2=null; try{ String url="…
change statement
Programming
Web Development
21 Years Ago
by jilshi
…;FROM fcprop "+ "ORDER BY fp_prop_desc ";
Statement
stmt_comp1=conn.createStatement(); ResultSet rset_comp1=stmt_comp1.executeQuery(sql_comp1); while(rset_comp1…"+ "WHERE fp_prop_desc = '"+property_desc+"' ";
Statement
stmt3 = conn.createStatement(); ResultSet rset3 = stmt3.executeQuery(sql_3); int …
Re: If Statement help
Programming
Software Development
14 Years Ago
by farooqaaa
…<= 110 Then sCategory = 2 End If 'category three
statement
If txtWindSpeed.Text >= 111 Then sCategory = 3 ElseIf …lt;= 130 Then sCategory = 3 End If 'category four
statement
If txtWindSpeed.Text >= 131 Then sCategory = 4 ElseIf …
Re: How To Add a Count Value to a Foreach Statement?
Programming
Web Development
14 Years Ago
by JBLDW
…; ($prod['imgsm'] != 'none.png')) {$multi_images = 1;} } // End of foreach
statement
. // +-- // | Define the header text. // +-- $header = $this->globals…. // +-- //print '</tr>' . $eol . $eol; } // End of foreach
statement
. if ($counter == 5) { // +-- // | Close the table row. // +-- print '&…
Re: Java Interpreter: LET Statement
Programming
Software Development
14 Years Ago
by jliao20
… The program counter, which specifies the line number of the //
statement
that will execute next. // * An array of 26 integers,… execute() methods in the
Statement
subclasses, to allow the execution of // a
statement
to change the state of…a program. For example, executing a // GOTO
statement
will cause the program counter to be changed. …
Why is my switch statement running twice?
Programming
Software Development
13 Years Ago
by andrewpw
…;). Why is it printing this? If I put this
statement
before the switch
statement
: printf("%d\n", input) to see… what input the switch
statement
is getting, it shows 'n' and then the rest of… variable. If I remove the default case for the switch
statement
it prints "You've deposited 5 cents" two…
1
2
3
17
Next
Last
Search
Search
Forums
Forum Index
Hardware/Software
Recommended Topics
Programming
Recommended Topics
Digital Media
Recommended Topics
Community Center
Recommended Topics
Latest Content
Newest Topics
Latest Topics
Latest Posts
Latest Comments
Top Tags
Topics Feed
Social
Top Members
Meet People
Community Functions
DaniWeb Premium
Newsletter Archive
Markdown Syntax
Community Rules
Developer APIs
Connect API
Forum API Docs
Tools
SEO Backlink Checker
Legal
Terms of Service
Privacy Policy
FAQ
About Us
Advertise
Contact Us
© 2025 DaniWeb® LLC