πŸš€ go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.jbuilder.database
Article #456

Re: About QueryDataSet Component

#456
From: nebula
Date: Tue, 13 Sep 2005 13:37
70 lines
3820 bytes
Thanks john. I'll refer to those papers and see if it answers my questions. Thanks again.

John Moore <jbm@microps.com> wrote:
>Actually there is...
>
>   Read "Understanding Resolvers.." and "Understanding Providers..."
>
>   Most of the "intro" for these two subjects outline how dataexpress 
>works...
>
>   As far as a "dynamic query generator"... most of that will have 
>nothing to do with DX.. (i.e. building the SQL statement..)  Then it is 
>just a matter of using that sql string in code as show in the tutorial..
>
>"Retrieving data from a data source"..
>
>If you have an specific questions on this material.. just holler..
>
>John..
>
>
>
>nebula wrote:
>> Hi john:
>> thanks for reply but no suitable reference was found in your given link. I have also read chapter 5(Retrieving data from a data source) of Developing Database Application(product documentation of JBuilder) but couldn't found exactly what I have been looking for. Any help on this will surely be appreciated.
>> thanks
>> 
>> 
>> John Moore <jbm@microps.com> wrote:
>> 
>>>Yes there are complete tutorials on how to use the querydataset in the 
>>>product..  I would do those first and then ask specific questions you 
>>>may have while doing those tutorials..
>>>
>>>I also have some papers on using the DX components (DataExpress) at the 
>>>links below..
>>>
>>>  John..
>>>
>>>nebula wrote:
>>>
>>>>Hello:
>>>>I am new to JBuilder and trying to explore this beautiful IDEοΏ½s strengths by examples. However, I am trying to write a simple program which allows the user to enter any query into the program. 
>>>>If I were not using the QueryDataSet component in this case then the code segment should look like this:
>>>>
>>>>String query;
>>>>query = textArea.getText();
>>>>ResultSet rs = statement.executeQuery(query);
>>>>
>>>>My question is how I can use the QueryDataSet component so that I can supply my own queries to the component at run time. Is there any way to manipulate the QueryDataSet component using the visual designer in this case? Can anyone help?
>>>>
>>>
>>>-- 
>>>=============================================
>>>TeamB are volunteer helpers.  Please DO NOT REPLY VIA EMAIL!
>>>Post all questions and replies to this newsgroup ONLY
>>>For papers on DataExpress, Applets, JSP, and Web Development go to:
>>>http://www.microps.com/mps/paperFAQ.html
>>>====================================================
>> 
>> 
>
>-- 
>=============================================
>TeamB are volunteer helpers.  Please DO NOT REPLY VIA EMAIL!
>Post all questions and replies to this newsgroup ONLY
>For papers on DataExpress, Applets, JSP, and Web Development go to:
>http://www.microps.com/mps/paperFAQ.html
>====================================================
Technical Details
Message-ID: <4326d606$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!pd7cy2so!shaw.ca!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <4321a094$1@newsgroups.borland.com> <4321d3af$1@newsgroups.borland.com> <4321e3ab@newsgroups.borland.com> <4325c98d$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 1073da,87c896edf100c98d
X-Google-Attributes: gid1073da,public
X-Google-Language: ENGLISH,ASCII
From: "nebula" <nebula007@gmail.com>
Sender: "nebula" <nebula007@gmail.com>
Reply-To: "nebula" <nebula007@gmail.com>
Subject: Re: About QueryDataSet Component
Newsgroups: borland.public.jbuilder.database
X-User-Info: 203.112.203.143     
References: <4321a094$1@newsgroups.borland.com> <4321d3af$1@newsgroups.borland.com> <4321e3ab@newsgroups.borland.com> <4325c98d$1@newsgroups.borland.com>
NNTP-Posting-Host: 207.105.83.66
Message-ID: <4326d606$1@newsgroups.borland.com>
Date: 13 Sep 2005 06:37:10 -0700
X-Trace: newsgroups.borland.com 1126618630 207.105.83.66 (13 Sep 2005 06:37:10 -0700)
Lines: 71
Path: arc1-ca.pugleaf.net!g2news1.google.com!news3.google.com!border1.nntp.dca.giganews.com!border2.nntp.dca.giganews.com!nntp.giganews.com!pd7cy2so!shaw.ca!news-out.newsgroups.com!propagator2-sterling.newsfeeds.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail