File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes Launching a Select Query with Parameters Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of Practical Unit Testing with TestNG and Mockito this week in the Testing forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Reply Bookmark "Launching a Select Query with Parameters" Watch "Launching a Select Query with Parameters" New topic
Author

Launching a Select Query with Parameters

Ray Stakenas
Greenhorn

Joined: Apr 07, 2003
Posts: 1
While I'm far from new to programming, I'm very new to VAJ ... and now a bit frustrated.
I have a form with a text box, a button, and a list box. The text box is connected to a parameter to a select query. The button is connected to the execute method for the query. Pressing the button does NOTHING.
VAJ 'doc' says that I have to execute the text box to get the parameter transferred to the query and I need a 'connection' to do this.
No connection I have tried to make has had the desired effect. There's even a neat 'beforeexecute' trigger on the connection from the text box to the select parm ... but that doesn't do anything.
I'm obviously missing something very very basic. Anybody know what it is?
Tks
-Ray
 
 
subject: Launching a Select Query with Parameters
 
Threads others viewed
Printing Database Records to an external printer/paper?
Access Database
in dropdown problem
querying a database within a servlet
IBM Visual Programming Tutorial - Clock and Layouts - vptut3aa.zip
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com