Variables in My Query

Results 1 to 2 of 2

Thread: Variables in My Query

  1. #1
    Join Date
    Dec 1969

    Default Variables in My Query

    Hey guys. Can I pass a Variable to my query? ie....<BR><BR>SELECT * From tblStuff WHERE userID = variable<BR><BR>I seem to be having a lot of trouble getting the query to except this. I need to querie a database based on a form and this is the only thing that is comming to mind.<BR><BR>any help at all<BR>thanx<BR>Rich<BR>

  2. #2
    Join Date
    Dec 1969

    Default RE: Variables in My Query

    ever heard of concatenation?<BR><BR>"SELECT * FROM table WHERE something = &#039;" & variable & "&#039;"<BR><BR>j

Posting Permissions

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