how can i query different tables using a parameterRow or through other methods?

From: Marcolm (Marcolm.19lxtp_at_mail.codecomments.com)
Date: 07/18/04


Date: Sun, 18 Jul 2004 19:44:02 GMT

hi,everyone
I'm new in java.
I want to query a table that depending on jdbTextField1.getText(). That
is to say the content of jdbTextField1.getText() is the name of table i
want to query. I tried to used these SQL codes:
SELECT *
FROM :table_name;// table_name = jdbTextField1.getText()
But it doesn't work. Help~!

--
Marcolm
------------------------------------------------------------------------
Posted via http://www.codecomments.com
------------------------------------------------------------------------
 


Relevant Pages

  • Re: Multiply Query
    ... criteria field on the query back to the dialog form i've created. ... depending on what the other criteria ... If some of these controls are textboxes which may be ... I have found it useful to divide up the SQL string into substrings ...
    (microsoft.public.access.formscoding)
  • Re: different results of query from different workstations
    ... The query converts a txt-field into a date format with the following ... General Date will have variable appearance depending on the computer's ... if your intention is to find all values more recent than 26 hours ago. ...
    (microsoft.public.access.queries)
  • Re: Classes functions....help!
    ... Not to take anything away from what Kevin said, but one possibility, ... depending on your database type/design, you could construct a query as such: ...
    (microsoft.public.dotnet.framework.aspnet)
  • filter a text box through a combo box on a form
    ... I would like to know how to filter the information displaying on a text box ... depending on the value of a combo box. ... I Have a query that displays the strSku and Quantity from my Production table ...
    (microsoft.public.access.gettingstarted)
  • Multiply Query
    ... criteria field on the query back to the dialog form i've created. ... Quoted and Non Quoted projects, depending on what the other criteria ...
    (microsoft.public.access.formscoding)