Skip to Content
author's profile photo Former Member
Former Member

DI-Connection to another DB

Hellow,

Does any one know if can I Connect To my DB -Not the Menahel DB On Sdk form that I'v made?

Iwant to do Query of Data From my Db and I don't want to copy my data to User Tables On Menahel DB.

Can I do it?

Add a comment
10|10000 characters needed characters exceeded

Related questions

2 Answers

  • author's profile photo Former Member
    Former Member
    Posted on Feb 24, 2004 at 01:00 PM

    You can write database specification in the SQL statement.

    For example:

    SELECT * FROM dbo.mydb.mytable

    Add a comment
    10|10000 characters needed characters exceeded

  • author's profile photo Former Member
    Former Member
    Posted on Feb 24, 2004 at 02:45 PM

    Hi Ruti

    You can use any SQL you want with Recordset object.

    For matrix:

    1. Open UserDataSource for each column in the matrix

    2. Bind column with data source

    3 Read row from Recordset and set value of every UserDataSource for matrix

    4. AddRow()

    It works, but slower than using of DBDataSource

    For text box use the same way with single UserDataSource

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.