Results 1 to 15 of 15

Thread: [RESOLVED] simple datatable select statment

Threaded View

  1. #1

    Thread Starter
    Member SeaCapnJ's Avatar
    Join Date
    Jun 2003
    Location
    Wilmington, NC
    Posts
    41

    [RESOLVED] simple datatable select statment

    Ok this is overly simple, but driving me crazy. Any thoughts are much appreciated.


    Dim q As String
    dim ro as datarow
    'tbliptval is a public datatable

    q = "CID = " & Process_cid & " And Name = '" & varname & "'"
    Try
    ro = tblIptVal.Select(msg)(0)
    Catch e As Exception
    MsgBox(e.ToString)
    End Try

    The query q should return one record, and does when i manually enter the sql.

    Any thoughts? ahhhhhhhhh!
    Last edited by SeaCapnJ; Jun 17th, 2004 at 03:13 PM.

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