CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 4 of 4

Thread: again select

  1. #1
    Join Date
    Aug 2001
    Location
    The Netherlands, near germany
    Posts
    42

    again select

    I had problems to save with adodc to a mysql database. Now I solved that problem with the normal data. But now my question. I had this with adodc to select:
    Dim sSQL As String
    Dim tSQL As String
    Dim uSQL As String

    tSQL = "Select * from vis_tb_rep WHERE Company_ID = " & Vis_id
    Adodc2.CommandType = adCmdText
    Adodc2.RecordSource = tSQL
    Adodc2.Recordset.Refresh
    uSQL = "Select * from bas_tb_object WHERE company_id OR relatie_id = " & Vis_id
    Adodc3.CommandType = adCmdText
    Adodc3.RecordSource = uSQL
    Adodc3.Recordset.Refresh
    sSQL = "Select * from klantenbestand WHERE CompanyID = " & Vis_id
    Adodc1.CommandType = adCmdText
    Adodc1.RecordSource = sSQL
    Adodc1.Recordset.Refresh

    How can I reach that in normal data??

    thanks

    Remco Ploeg
    [email protected]

  2. #2
    Join Date
    Aug 2000
    Location
    England
    Posts
    185

    Re: again select

    what do you mean 'normal data'?


  3. #3
    Join Date
    Aug 2001
    Location
    The Netherlands, near germany
    Posts
    42

    Re: again select

    before I used adodc but now data. I don't now the other name

    Remco Ploeg
    [email protected]

  4. #4
    Join Date
    Jul 2001
    Location
    Belgium
    Posts
    39

    Re: again select

    I would like to help but I also don't know what you mean by 'normal data'. Are you trying to tell that you're not using the ado-data control anymore? If so, please explain what you are trying to use.

    If anything in this post makes sense it was written by me, if not I don't know who wrote it

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  





Click Here to Expand Forum to Full Width

Featured