Results 1 to 2 of 2

Thread: Data Environment question

  1. #1

    Thread Starter
    Addicted Member
    Join Date
    Sep 2000
    Posts
    230

    Question

    I created an connection and a command object using data env.. I created an SQL query for the command object using the SQL builder. The query contains a parameter I want to assign from a text box at runtime so my sql has the ? in it. How can use the data environment command now to execute the quuery and fill in the parameter.

    I can do it if I don't use the data environment but all my other connections and command are defined in the data env. so I would like to stay consistent.
    Shawn Hull
    VB6, SP3 (Professional Edition)

  2. #2
    New Member
    Join Date
    Aug 2000
    Posts
    10
    i'm not quite getting ur point, but u can try this

    data1.execute ("Insert into Table 1 where Field1= " & trim(text1.text))

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