Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Off-topic (VB)

Re: Off-topic (VB)

From: guess who <yours_in_at_rediffmail.com>
Date: Sun, 29 Sep 2002 00:03:19 -0800
Message-ID: <F001.004DC018.20020929000319@fatcity.com>


hey its very easy just put the database connection code in a module so that u can get the strconn properties in the second form also...thats it

Regards,
Prakash.N

On Thu, 26 Sep 2002 Santosh Varma wrote :
>Hello all,
>
> Sorry for the off-topic discussion.
>But any one who knows VB can answer me personally.
>
>I have 2 forms.
>In the first form, through the program, i call a function
>connection() which
>is as follows ->
>
>{
>Dim strconn As String
>strconn = "Provider=SQLOLEDB.1;Persist Security Info=False;User
>ID=Santosh;Password=santosh;Initial Catalog=master;Data
>Source=anamika"
>objconn.ConnectionString = strconn
>objconn.Open
>}
>
>and in the second form, i have 2 text boxes (from date and to
>date ) and a
>grid
>and as soon as the focus is left from todate, i want to display
>the details
> from customer table to the grid.
>
>How to achieve this ??
>
>Thanks and regards,
>santosh

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: guess who
  INET: yours_in_at_rediffmail.com

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Sun Sep 29 2002 - 03:03:19 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US