Wrox Programmer Forums
Go Back   Wrox Programmer Forums > Java > Java and JDK > BOOK: Beginning Java 2
BOOK: Beginning Java 2
This is the forum to discuss the Wrox book Beginning Java 2, SDK 1.4 Edition by Ivor Horton; ISBN: 9780764543654
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Beginning Java 2 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
Old July 21st, 2003, 05:35 AM
Registered User
Join Date: Jul 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Database access from java, INSERT query problem

Am having problem with a sql query. I am connecting to msaccess database from java. The INSERT and SELECT queries work fine, but for some reason the UPDATE query does not work. Could you check to see if the syntax is correct please.

String qwy = "UPDATE QuoteLine SET " +
              "Item='" + txtprodName.getText() +
              "', Quantity='" + txtQuantity.getText() +
              "', QuotedPrice='" + getfinalPrToQuote() +
              "', ExRate='" + getConvRate() +
              "' WHERE QuoteRef=" + txtQuotRef.getText();
Old July 21st, 2003, 10:26 AM
Registered User
Join Date: Jul 2003
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts

Are quantity, price, and ex rate really strings?

Associate Instructor - Hofstra University

Similar Threads
Thread Thread Starter Forum Replies Last Post
INSERT into Access Database from VBA for Excel zuerlein Excel VBA 0 June 3rd, 2007 01:51 AM
Insert row into MS-ACCESS database ITladybug ADO.NET 1 January 28th, 2006 07:57 AM
Insert into error with union query in Access 2002 roniestein Access 8 December 21st, 2004 07:47 PM
INSERT info into a Access database for display sideshow245 Classic ASP Databases 2 January 7th, 2004 04:25 PM
INSERT string into a Microsoft Access Database gsolis Classic ASP Databases 1 December 31st, 2003 05:31 PM

Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.