This application shows how to set a particular column for the locate operation as well as using a TextFieldControl component to prompt the user for the column to locate in.
This application requires that you have a version of JBuilder that includes the JBuilder DataBroker database architecture components.
Note: All versions of JBuilder provide direct access to SQL data through the JavaSoft JDBC API. Some versions of JBuilder provide additional DataBroker components (on the Data Access tab of the Component Palette) that greatly simplify RAD visual development of database applications. Refer to the JBuilder product page from the Borland Web site for availability of features in each JBuilder version.
When you run the application, you'll notice the following behavior:
Note: In this sample, there is no validation of the column name, so be sure to enter a correctly spelled column name.